From 07ed1ad7669eb8da49eff68b6d085503894927cf Mon Sep 17 00:00:00 2001 From: qwahzi Date: Wed, 22 Nov 2023 12:48:03 -0600 Subject: [PATCH] Update publish-docker-pr.yml to use digest Update image to use digest --- .github/workflows/publish-docker-pr.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish-docker-pr.yml b/.github/workflows/publish-docker-pr.yml index 2500095c2..5e62b68dd 100644 --- a/.github/workflows/publish-docker-pr.yml +++ b/.github/workflows/publish-docker-pr.yml @@ -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 }}