Skip to content

Commit

Permalink
Merge pull request #537 from tillkuhn/dependabot/github_actions/docke…
Browse files Browse the repository at this point in the history
…r/login-action-3

Bump docker/login-action from 2 to 3
  • Loading branch information
tillkuhn authored Jan 2, 2024
2 parents b4f58b6 + 228a0ea commit 2d8a977
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/angular.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ jobs:
if: github.ref == format('refs/heads/{0}', github.event.repository.default_branch) # run only on main

- name: Login to DockerHub
uses: docker/login-action@v2
uses: docker/login-action@v3
if: github.ref == format('refs/heads/{0}', github.event.repository.default_branch) # run only on main
with:
username: ${{ secrets.DOCKER_USERNAME }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ jobs:
if: github.ref == format('refs/heads/{0}', github.event.repository.default_branch) # run only on main

- name: Login to DockerHub
uses: docker/login-action@v2
uses: docker/login-action@v3
if: github.ref == format('refs/heads/{0}', github.event.repository.default_branch) # run only on main
with:
username: ${{ secrets.DOCKER_USERNAME }}
Expand All @@ -115,7 +115,7 @@ jobs:
# Practical Example: https://blog.codecentric.de/github-container-registry and
# Code: https://github.com/jonashackt/docker-hello-world/blob/main/.github/workflows/publish.yml
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
uses: docker/login-action@v3
if: github.ref == format('refs/heads/{0}', github.event.repository.default_branch) # run only on main
with:
registry: ghcr.io
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/kotlin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ jobs:
if: github.ref == format('refs/heads/{0}', github.event.repository.default_branch) # run only on main

- name: Login to DockerHub
uses: docker/login-action@v2
uses: docker/login-action@v3
if: github.ref == format('refs/heads/{0}', github.event.repository.default_branch) # run only on main
with:
username: ${{ secrets.DOCKER_USERNAME }}
Expand Down

0 comments on commit 2d8a977

Please sign in to comment.