Adding docker hub to push list (#271)

* adding docker hub to push list

* adding back arm builds to worker
This commit is contained in:
Bret Fisher
2022-12-16 17:32:18 -05:00
committed by GitHub
parent 7e7445a601
commit f0fb81f707
3 changed files with 10 additions and 19 deletions

View File

@@ -52,7 +52,7 @@ 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
@@ -60,9 +60,6 @@ jobs:
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 (.)

View File

@@ -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 (.)

View File

@@ -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 (.)
@@ -78,7 +75,7 @@ jobs:
### other options: linux/amd64,linux/arm64,linux/arm/v7
# FIXME worker arm/v7 support doesn't build in .net core 3.1 with QEMU
# a fix would likely run the .net build on amd64 but with a target of arm/v7
platforms: linux/amd64,linux/arm64
platforms: linux/amd64,linux/arm64,linux/arm/v7
### Create a PR comment with image tags and labels
### defaults to false