Skip to content

Commit

Permalink
Update publish-docker-pr.yml to use digest
Browse files Browse the repository at this point in the history
Update image to use digest
  • Loading branch information
qwahzi authored Nov 22, 2023
1 parent 355b5ed commit 07ed1ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish-docker-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ jobs:
# Build and test Docker image
- run: |
echo ${{ secrets.GHCR_TOKEN }} | docker login ghcr.io -u nanocurrency --password-stdin
docker pull squidfunk/mkdocs-material:latest
docker pull squidfunk/mkdocs-material:9.4.10@sha256:01605a03397a654b74b9de3157f56915d1e075e2d3bd22fcf3fb82c443553c25
docker build -t ghcr.io/nanocurrency/nano-docs:pr-${{ env.PR_NUMBER }} .
docker push ghcr.io/nanocurrency/nano-docs:pr-${{ env.PR_NUMBER }}

0 comments on commit 07ed1ad

Please sign in to comment.