Skip to content

Commit

Permalink
push all tags
Browse files Browse the repository at this point in the history
  • Loading branch information
edbentho committed Jul 26, 2024
1 parent 39b03e5 commit 4fae4b2
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,10 @@ jobs:

- name: Publish Docker Image
run: |
tags=$(docker image inspect ghcr.io/ukhomeoffice/cc-lza-validator:latest | jq '.[0].RepoTags')
echo $tags
for tag in $tags; do
docker push $tag
done
# tags=$(docker image inspect ghcr.io/ukhomeoffice/cc-lza-validator:latest | jq '.[0].RepoTags')
# echo $tags
# for tag in $tags; do
# docker push $tag
# done
docker push -a ghcr.io/ukhomeoffice/cc-lza-validator

0 comments on commit 4fae4b2

Please sign in to comment.