Skip to content

Commit 0121b53

Browse files
committed
Setup latest version of github actions
1 parent 027fb64 commit 0121b53

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/docker_publish.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,26 +15,26 @@ jobs:
1515
docker:
1616
runs-on: ubuntu-latest
1717
steps:
18-
- uses: actions/checkout@v4
18+
- uses: actions/checkout@main
1919
with:
2020
# Shallow clones should be disabled for a better relevancy of analysis
2121
fetch-depth: 0
2222
- name: Echo ref name trigger
2323
run: echo ${{ github.ref_name }}
2424
- name: Set up JDK 21
25-
uses: actions/setup-java@v4
25+
uses: actions/setup-java@main
2626
with:
2727
java-version: '21'
2828
distribution: 'corretto'
2929
cache: 'maven'
3030
- name: Cache Maven packages
31-
uses: actions/cache@v4
31+
uses: actions/cache@main
3232
with:
3333
path: ~/.m2
3434
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
3535
restore-keys: ${{ runner.os }}-m2
3636
- name: Cache SonarCloud packages
37-
uses: actions/cache@v1
37+
uses: actions/cache@main
3838
with:
3939
path: ~/.sonar/cache
4040
key: ${{ runner.os }}-sonar
@@ -50,16 +50,16 @@ jobs:
5050
run: mvn -B clean package
5151
# using action https://github.com/marketplace/actions/build-and-push-docker-images
5252
- name: Set up QEMU
53-
uses: docker/setup-qemu-action@v3
53+
uses: docker/setup-qemu-action@master
5454
- name: Set up Docker Buildx
55-
uses: docker/setup-buildx-action@v3
55+
uses: docker/setup-buildx-action@master
5656
- name: Login to Docker Hub
57-
uses: docker/login-action@v3
57+
uses: docker/login-action@master
5858
with:
5959
username: ${{ secrets.DOCKERHUB_USERNAME }}
6060
password: ${{ secrets.DOCKERHUB_TOKEN }}
6161
- name: Build and push
62-
uses: docker/build-push-action@v5
62+
uses: docker/build-push-action@master
6363
with:
6464
context: .
6565
platforms: linux/amd64,linux/arm64

0 commit comments

Comments
 (0)