Skip to content

Commit

Permalink
update actions
Browse files Browse the repository at this point in the history
  • Loading branch information
tillkuhn committed Jan 12, 2024
1 parent dea69cc commit af14d80
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/angular.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ jobs:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

- name: Set up Docker Buildx to support arm/amd platforms
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3
if: github.ref == format('refs/heads/{0}', github.event.repository.default_branch) # run only on main

- name: Login to DockerHub
Expand All @@ -100,7 +100,7 @@ jobs:
password: ${{ secrets.DOCKER_PASSWORD }} # Password or personal access token used to log in to a Docker registry. If not set then no login will occur.

- name: Push to DockerHub
uses: docker/build-push-action@v4 # https://github.com/docker/build-push-action
uses: docker/build-push-action@v5 # https://github.com/docker/build-push-action
if: github.ref == format('refs/heads/{0}', github.event.repository.default_branch) # run only on main
with:
context: ./angular
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ jobs:
dockerfile: ./go/Dockerfile

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3
if: github.ref == format('refs/heads/{0}', github.event.repository.default_branch) # run only on main

- name: Login to DockerHub
Expand Down Expand Up @@ -127,7 +127,7 @@ jobs:
# check https://stackoverflow.com/a/71438011/4292075

- name: Push to GitHub Container Registry
uses: docker/build-push-action@v4 # https://github.com/docker/build-push-action
uses: docker/build-push-action@v5 # https://github.com/docker/build-push-action
if: github.ref == format('refs/heads/{0}', github.event.repository.default_branch) # run only on main
with:
context: ./go
Expand All @@ -146,7 +146,7 @@ jobs:
RELEASE_VERSION: ${{ env.RELEASE_VERSION }}
- name: Push to DockerHub
uses: docker/build-push-action@v4 # https://github.com/docker/build-push-action
uses: docker/build-push-action@v5 # https://github.com/docker/build-push-action
if: github.ref == format('refs/heads/{0}', github.event.repository.default_branch) # run only on main
with:
context: ./go
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/kotlin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ jobs:
# Setup Docker buildx to support multi-platform images
# https://github.com/docker/setup-buildx-action
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3
if: github.ref == format('refs/heads/{0}', github.event.repository.default_branch) # run only on main

- name: Login to DockerHub
Expand All @@ -131,7 +131,7 @@ jobs:

# GitHub Action to build and push Docker images including multistage builds
- name: Push to DockerHub
uses: docker/build-push-action@v4 # https://github.com/docker/build-push-action
uses: docker/build-push-action@v5 # https://github.com/docker/build-push-action
if: github.ref == format('refs/heads/{0}', github.event.repository.default_branch) # run only on main
with:
context: ./kotlin
Expand Down

0 comments on commit af14d80

Please sign in to comment.