24 Commits
Author SHA1 Message Date
Bo AndersonandGitHub b4f7dbcc2b Merge pull request #13218 from Homebrew/docker-brew-22.04
workflows/docker: base homebrew/brew on 22.04
2022-04-29 22:03:07 +01:00
Bo Anderson 3ddcf765d2 workflows/docker: base homebrew/brew on 22.04
Also disable fail-fast so that if a image upload fails we don't stop the other uploads halfway.
2022-04-28 21:21:40 +01:00
Bo Anderson f15ac65ced workflows/docker: add OCI metadata 2022-04-27 03:38:57 +01:00
Dawid DziurlaandGitHub 3e88dcb7f7 workflows/docker: add 22.04 2022-04-24 22:33:47 +02:00
Bo AndersonandGitHub e3b760289f Merge pull request #12063 from Homebrew/workflow-permissions
workflows: reduce GITHUB_TOKEN permissions
2021-09-16 15:15:55 +01:00
Bo Anderson f38a3239e6 workflows: reduce GITHUB_TOKEN permissions 2021-09-15 15:10:11 +01:00
XuehaiPan 3f96d963f7 style: fix inconsistent code style for shell scripts 2021-09-15 14:59:01 +08:00
Mike McQuaid 09121244b4 github/workflows: use Homebrew/brew-specific packages token. 2021-04-06 10:22:51 +01:00
Bryce Glover ce11d63ca8 [.github/workflows/docker.yml] jobs.ubuntu: Don't run on user forks. 2020-12-07 19:31:24 -05:00
Shohei UedaandGitHub 3497008e6c Use GITHUB_ENV instead of set-env
https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/

> Action and workflow authors who are setting environment variables via stdout should update any usage of the set-env and add-path workflow commands to use the new environment files.
2020-10-15 10:34:52 +09:00
Mike McQuaid 5ac1ea8762 workflows: make homebrew lowercase again for Docker.
Otherwise this fails.
2020-09-03 13:31:34 +01:00
Mike McQuaid a5fae14f1f workflows: tweak docker.
- Note GitHub Packages specifically in step names
- Use uppercase for Homebrew name/tag (in case it makes a difference)
- Use `--password-stdin` to avoid a warning
2020-09-03 11:16:59 +01:00
Mike McQuaid 8d07f4f15c workflows: migrate to GitHub Container Registry.
This seems a better fit for us (unauthenticated anonymous access) than
GitHub Packages Docker registry was.

Followed steps on:
https://docs.github.com/en/packages/getting-started-with-github-container-registry/migrating-to-github-container-registry-for-docker-images
2020-09-03 09:41:37 +01:00
Mike McQuaid c6a5ea5f11 workflows: don't test paths on master.
This avoids weirdness like the merged PR commits being pushed to scheduled opened PRs after merging.

It also avoids wasting resources.
2020-08-26 14:02:44 +01:00
Mike McQuaid d2fc08d942 GitHub Actions cleanup
- Add consistent spacing
- Remove `pull_request: []` warning
- remove identical, implicit `name` usage
- use `actions/cache@v1` for compatibility
2020-08-13 14:54:22 +01:00
Mike McQuaid 844c330cc5 workflows: test on "push" not "pull_request".
This ensures they have access to the correct secrets.
2020-08-11 14:01:27 +01:00
Mike McQuaid 3e4da13934 Cleanup more GitHub Actions usage
Increase consistency between workflows, use more of our actions and
`@main`.
2020-08-06 19:35:39 +01:00
Shaun Jackman 3d3aef4076 docker.yml: Tag homebrew/brew:$brew_version 2020-05-22 11:46:42 -07:00
Shaun Jackman 0c8a7b0488 Base homebrew/brew Docker image on ubuntu:20.04
Add a new image homebrew/ubuntu16.04 for building Linux bottles.
Tag the most recent stable release of each image as latest.
2020-05-20 22:11:42 -07:00
Dawid Dziurla 95c6d3797d workflows: login without specifying registry 2020-05-11 10:38:38 +02:00
Shaun Jackman f4e32ebcb1 docker.yml: Set persist-credentials: false 2020-05-04 16:16:18 -07:00
Shaun Jackman 3a9e12efac docker.yml: Fix a typo 2020-05-04 15:00:36 -07:00
Shaun Jackman 305ecfd66e docker.yml: Deploy tagged image to Docker Hub 2020-05-04 12:34:59 -07:00
Shaun Jackman 5052f49f40 Build Docker images for Ubuntu 18.04 and 20.04 2020-05-02 21:04:08 -07:00