Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
brew
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to JiHu GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
KMSCAKKSCFKA AKFACAMADCAS
brew
Commits
5ac1ea87
Commit
5ac1ea87
authored
4 years ago
by
Mike McQuaid
Browse files
Options
Downloads
Patches
Plain Diff
workflows: make homebrew lowercase again for Docker.
Otherwise this fails.
parent
a7c777c9
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.github/workflows/docker.yml
+8
-8
8 additions, 8 deletions
.github/workflows/docker.yml
.github/workflows/tests.yml
+2
-2
2 additions, 2 deletions
.github/workflows/tests.yml
with
10 additions
and
10 deletions
.github/workflows/docker.yml
+
8
−
8
View file @
5ac1ea87
...
...
@@ -36,10 +36,10 @@ jobs:
brew_version=${GITHUB_REF:10}
echo "::set-env name=brew_version::$brew_version"
echo ${{secrets.HOMEBREW_GITHUB_PACKAGES_API_TOKEN}} | docker login ghcr.io -u BrewTestBot --password-stdin
docker tag brew "ghcr.io/
H
omebrew/ubuntu${{matrix.version}}:$brew_version"
docker push "ghcr.io/
H
omebrew/ubuntu${{matrix.version}}:$brew_version"
docker tag brew "ghcr.io/
H
omebrew/ubuntu${{matrix.version}}:latest"
docker push "ghcr.io/
H
omebrew/ubuntu${{matrix.version}}:latest"
docker tag brew "ghcr.io/
h
omebrew/ubuntu${{matrix.version}}:$brew_version"
docker push "ghcr.io/
h
omebrew/ubuntu${{matrix.version}}:$brew_version"
docker tag brew "ghcr.io/
h
omebrew/ubuntu${{matrix.version}}:latest"
docker push "ghcr.io/
h
omebrew/ubuntu${{matrix.version}}:latest"
-
name
:
Deploy the tagged Docker image to Docker Hub
if
:
startsWith(github.ref, 'refs/tags/')
...
...
@@ -53,10 +53,10 @@ jobs:
-
name
:
Deploy the homebrew/brew Docker image to GitHub Packages and Docker Hub
if
:
startsWith(github.ref, 'refs/tags/') && matrix.version == '20.04'
run
:
|
docker tag brew "ghcr.io/
H
omebrew/brew:$brew_version"
docker push "ghcr.io/
H
omebrew/brew:$brew_version"
docker tag brew "ghcr.io/
H
omebrew/brew:latest"
docker push "ghcr.io/
H
omebrew/brew:latest"
docker tag brew "ghcr.io/
h
omebrew/brew:$brew_version"
docker push "ghcr.io/
h
omebrew/brew:$brew_version"
docker tag brew "ghcr.io/
h
omebrew/brew:latest"
docker push "ghcr.io/
h
omebrew/brew:latest"
docker tag brew "homebrew/brew:$brew_version"
docker push "homebrew/brew:$brew_version"
docker tag brew "homebrew/brew:latest"
...
...
This diff is collapsed.
Click to expand it.
.github/workflows/tests.yml
+
2
−
2
View file @
5ac1ea87
...
...
@@ -143,8 +143,8 @@ jobs:
if
:
matrix.os == 'ubuntu-latest' && github.ref == 'refs/heads/master'
run
:
|
echo ${{secrets.HOMEBREW_GITHUB_PACKAGES_API_TOKEN}} | docker login ghcr.io -u BrewTestBot --password-stdin
docker tag brew "ghcr.io/
H
omebrew/ubuntu16.04:master"
docker push "ghcr.io/
H
omebrew/ubuntu16.04:master"
docker tag brew "ghcr.io/
h
omebrew/ubuntu16.04:master"
docker push "ghcr.io/
h
omebrew/ubuntu16.04:master"
echo ${{secrets.DOCKER_TOKEN}} | docker login -u brewtestbot --password-stdin
docker tag brew "homebrew/ubuntu16.04:master"
docker push "homebrew/ubuntu16.04:master"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment