Skip to content

Commit 883c208

Browse files
committed
use fully qualified name when creating tag for docker hub
1 parent 43f88f3 commit 883c208

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build-container.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
uses: docker/metadata-action@v5
5454
with:
5555
images: |
56-
${{ github.repository }}
56+
docker.io/${{ github.repository }}
5757
ghcr.io/${{ github.repository }}
5858
flavor: |
5959
latest=false
@@ -72,7 +72,7 @@ jobs:
7272
labels: ${{ steps.meta.outputs.labels }}
7373
annotations: ${{ steps.meta.outputs.annotations }}
7474
- name: Update deployed image
75-
if: ${{ contains( fromJSON(steps.meta.outputs.json).tags, format('{0}:latest', github.repository)) }}
75+
if: contains( format(',{0},', join( fromJSON(steps.meta.outputs.json).tags, ',' ) ), ':latest,' )
7676
uses: benc-uk/workflow-dispatch@v1
7777
with:
7878
repo: metacpan/metacpan-k8s

0 commit comments

Comments
 (0)