Skip to content

Commit

Permalink
ci: set the version for GitHub actions
Browse files Browse the repository at this point in the history
It's better to user the versions instead of the git commit hash.

Signed-off-by: 💻 Eher <[email protected]>
  • Loading branch information
EHER committed Jun 18, 2023
1 parent 8b78e9d commit ab66c9d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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' }}
Expand Down

0 comments on commit ab66c9d

Please sign in to comment.