Skip to content

Commit

Permalink
Update GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored Dec 1, 2023
1 parent 405d5a9 commit 7751cc4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/docker-publish-on-comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,19 +47,19 @@ jobs:

# Workaround: https://github.com/docker/build-push-action/issues/461
- name: Setup Docker buildx
uses: docker/setup-buildx-action@6d5347c4025fdf2bb05167a2519cac535a14a408
uses: docker/setup-buildx-action@edfb0fe6204400c56fbfd3feba3fe9ad1adfa345

# Login against a Docker registry except on PR
# https://github.com/docker/login-action
- name: Log into GH registry ${{ env.REGISTRY }}
uses: docker/login-action@1f401f745bf57e30b3a2800ad308a87d2ebdf14b
uses: docker/login-action@3d58c274f17dffee475a5520cbe67f0a882c4dbb
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Log into Docker Hub registry ${{ env.REGISTRY }}
uses: docker/login-action@1f401f745bf57e30b3a2800ad308a87d2ebdf14b
uses: docker/login-action@3d58c274f17dffee475a5520cbe67f0a882c4dbb
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
Expand All @@ -70,7 +70,7 @@ jobs:
# 2nd image name is for DockerHub image
- name: Extract Docker metadata
id: meta
uses: docker/metadata-action@62339db73c56dd749060f65a6ebb93a6e056b755
uses: docker/metadata-action@e6428a5c4e294a61438ed7f43155db912025b6b3
with:
context: git
images: |
Expand All @@ -86,7 +86,7 @@ jobs:
# https://github.com/docker/build-push-action
- name: Build and push Docker image
id: build-and-push
uses: docker/build-push-action@fdf7f43ecf7c1a5c7afe936410233728a8c2d9c2
uses: docker/build-push-action@4a13e500e55cf31b7a5d59a38ab2040ab0f42f56
with:
context: .
push: true
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,21 +49,21 @@ jobs:

# Workaround: https://github.com/docker/build-push-action/issues/461
- name: Setup Docker buildx
uses: docker/setup-buildx-action@6d5347c4025fdf2bb05167a2519cac535a14a408
uses: docker/setup-buildx-action@edfb0fe6204400c56fbfd3feba3fe9ad1adfa345

# Login against a Docker registry except on PR
# https://github.com/docker/login-action
- name: Log into GH registry ${{ env.REGISTRY }}
if: github.event_name != 'pull_request'
uses: docker/login-action@1f401f745bf57e30b3a2800ad308a87d2ebdf14b
uses: docker/login-action@3d58c274f17dffee475a5520cbe67f0a882c4dbb
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Log into Docker Hub registry ${{ env.REGISTRY }}
if: github.event_name != 'pull_request'
uses: docker/login-action@1f401f745bf57e30b3a2800ad308a87d2ebdf14b
uses: docker/login-action@3d58c274f17dffee475a5520cbe67f0a882c4dbb
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
Expand All @@ -74,7 +74,7 @@ jobs:
# 2nd image name is for DockerHub image
- name: Extract Docker metadata
id: meta
uses: docker/metadata-action@62339db73c56dd749060f65a6ebb93a6e056b755
uses: docker/metadata-action@e6428a5c4e294a61438ed7f43155db912025b6b3
with:
images: |
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
Expand All @@ -85,7 +85,7 @@ jobs:
# https://github.com/docker/build-push-action
- name: Build and push Docker image
id: build-and-push
uses: docker/build-push-action@fdf7f43ecf7c1a5c7afe936410233728a8c2d9c2
uses: docker/build-push-action@4a13e500e55cf31b7a5d59a38ab2040ab0f42f56
with:
context: .
push: ${{ github.event_name != 'pull_request' }}
Expand Down

0 comments on commit 7751cc4

Please sign in to comment.