diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 37d5743..654b9e2 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -63,7 +63,7 @@ jobs: # https://github.com/docker/metadata-action - name: Extract Docker metadata id: meta - uses: docker/metadata-action@96383f45573cb7f253c731d3b3ab81c87ef81934 # v5.0.0 + uses: docker/metadata-action@latest with: images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} @@ -71,7 +71,7 @@ jobs: # https://github.com/docker/build-push-action - name: Build and push Docker image id: build-and-push - uses: docker/build-push-action@0565240e2d4ab88bba5387d719585280857ece09 # v5.0.0 + uses: docker/build-push-action@latest with: context: . push: ${{ github.event_name != 'pull_request' }}