From ab66c9dd86862e85623fbf5a770e9edc4c01f01e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=F0=9F=92=BB=20Eher?= Date: Wed, 14 Jun 2023 01:42:00 +0200 Subject: [PATCH] ci: set the version for GitHub actions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It's better to user the versions instead of the git commit hash. Signed-off-by: 💻 Eher --- .github/workflows/docker-publish.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 6b88ca8..0e3fe9e 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -38,7 +38,7 @@ jobs: # https://github.com/docker/login-action - name: Log into registry ${{ env.REGISTRY }} if: github.event_name != 'pull_request' - uses: docker/login-action@465a07811f14bebb1938fbed4728c6a1ff8901fc + uses: docker/login-action@v2.2.0 with: registry: ${{ env.REGISTRY }} username: ${{ github.actor }} @@ -55,7 +55,7 @@ jobs: # Build and push Docker image with Buildx (don't push on PR) # https://github.com/docker/build-push-action - name: Build and push Docker image - uses: docker/build-push-action@f9efed53cc1b0364ba947400ac02042bbbaac7fc + uses: docker/build-push-action@v4.1.1 with: context: . push: ${{ github.event_name != 'pull_request' }}