Skip to content
Snippets Groups Projects
Unverified Commit 9212427b authored by chris48s's avatar chris48s Committed by GitHub
Browse files

output DockerHub digest in publish-docker-next workflow (#9471)

parent e9b3b505
No related branches found
No related tags found
No related merge requests found
...@@ -29,6 +29,7 @@ jobs: ...@@ -29,6 +29,7 @@ jobs:
run: echo "SHORT_SHA=${GITHUB_SHA::7}" >> $GITHUB_ENV run: echo "SHORT_SHA=${GITHUB_SHA::7}" >> $GITHUB_ENV
- name: Build and push to DockerHub - name: Build and push to DockerHub
id: docker_build_push
uses: docker/build-push-action@v4 uses: docker/build-push-action@v4
with: with:
context: . context: .
...@@ -37,6 +38,9 @@ jobs: ...@@ -37,6 +38,9 @@ jobs:
build-args: | build-args: |
version=${{ env.SHORT_SHA }} version=${{ env.SHORT_SHA }}
- name: Output Image Digest
run: echo ${{ steps.docker_build_push.outputs.digest }} >> $GITHUB_STEP_SUMMARY
- name: Login to GHCR - name: Login to GHCR
uses: docker/login-action@v2 uses: docker/login-action@v2
with: with:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment