Skip to content

Commit b2ec7f7

Browse files
committed
Pull the image first before inspection
1 parent 15fcd04 commit b2ec7f7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,8 @@ jobs:
115115
registry: docker.io
116116
username: ${{ secrets.DOCKER_HUB_USER }}
117117
password: ${{ secrets.DOCKER_HUB_PASSWORD }}
118+
- name: Pull the image
119+
run: docker pull docker.io/hickorydns/hickory-dns:latest
118120
- name: Get the version
119121
run: echo "buildVersion=$(docker image inspect docker.io/hickorydns/hickory-dns:latest -f '{{ (index .Config.Labels "org.opencontainers.image.version")}}')" >> "$GITHUB_ENV"
120122
- name: Create the manifest for the version ${{ env.buildVersion }}

0 commit comments

Comments
 (0)