Skip to content

Adding docker hub to push list #271

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Dec 16, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
adding docker hub to push list
  • Loading branch information
BretFisher committed Dec 16, 2022
commit 1b1fdf94a8cc7b407eaf52ad51e6144937bd5075
5 changes: 1 addition & 4 deletions .github/workflows/call-docker-build-result.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,17 +52,14 @@ jobs:
### defaults to:
image-names: |
ghcr.io/dockersamples/example-voting-app-result
# dockersamples/examplevotingapp_result
dockersamples/examplevotingapp_result

### REQUIRED set rules for tagging images, based on special action syntax:
### https://github.com/docker/metadata-action#tags-input
### defaults to:
tag-rules: |
type=raw,value=latest,enable=${{ endsWith(github.ref, github.event.repository.default_branch) }}
type=ref,event=pr
type=ref,event=branch
type=semver,pattern={{version}}
type=raw,value=gha-${{ github.run_id }}

### path to where docker should copy files into image
### defaults to root of repository (.)
Expand Down
11 changes: 4 additions & 7 deletions .github/workflows/call-docker-build-vote.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,17 +52,14 @@ jobs:
### defaults to:
image-names: |
ghcr.io/dockersamples/example-voting-app-vote
# dockersamples/examplevotingapp_vote
dockersamples/examplevotingapp_vote

### REQUIRED set rules for tagging images, based on special action syntax:
### https://github.com/docker/metadata-action#tags-input
### defaults to:
# tag-rules: |
# type=raw,value=latest,enable=${{ endsWith(github.ref, github.event.repository.default_branch) }}
# type=ref,event=pr
# type=ref,event=branch
# type=semver,pattern={{version}}
# type=raw,value=gha-${{ github.run_id }}
tag-rules: |
type=raw,value=latest,enable=${{ endsWith(github.ref, github.event.repository.default_branch) }}
type=ref,event=pr

### path to where docker should copy files into image
### defaults to root of repository (.)
Expand Down
11 changes: 4 additions & 7 deletions .github/workflows/call-docker-build-worker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,17 +52,14 @@ jobs:
### defaults to:
image-names: |
ghcr.io/dockersamples/example-voting-app-worker
# dockersamples/examplevotingapp_worker
dockersamples/examplevotingapp_worker

### REQUIRED set rules for tagging images, based on special action syntax:
### https://github.com/docker/metadata-action#tags-input
### defaults to:
# tag-rules: |
# type=raw,value=latest,enable=${{ endsWith(github.ref, github.event.repository.default_branch) }}
# type=ref,event=pr
# type=ref,event=branch
# type=semver,pattern={{version}}
# type=raw,value=gha-${{ github.run_id }}
tag-rules: |
type=raw,value=latest,enable=${{ endsWith(github.ref, github.event.repository.default_branch) }}
type=ref,event=pr

### path to where docker should copy files into image
### defaults to root of repository (.)
Expand Down