Skip to content

Commit 60fa764

Browse files
committed
Update github actions DEVOPS-2662
1 parent a3455fe commit 60fa764

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/mvn-dev-build-deploy.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
mvn-dev-build-deploy:
1818
runs-on: ubuntu-latest
1919
steps:
20-
- uses: actions/checkout@v5
20+
- uses: actions/checkout@v6
2121
with:
2222
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
2323
submodules: recursive
@@ -53,14 +53,14 @@ jobs:
5353
echo "MODULE_VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)-${SHA_SHORT}" >> $GITHUB_ENV
5454
5555
- name: Cache SonarCloud packages
56-
uses: actions/cache@v4
56+
uses: actions/cache@v5
5757
with:
5858
path: ~/.sonar/cache
5959
key: ${{ runner.os }}-sonar
6060
restore-keys: ${{ runner.os }}-sonar
6161

6262
- name: Cache Maven packages
63-
uses: actions/cache@v4
63+
uses: actions/cache@v5
6464
with:
6565
path: ~/.m2
6666
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
@@ -93,14 +93,14 @@ jobs:
9393

9494
- name: Login to Index Data Docker Hub account
9595
if: ${{ env.CURRENT_BRANCH == env.PUBLISH_BRANCH }}
96-
uses: docker/login-action@v3
96+
uses: docker/login-action@v4
9797
with:
9898
username: ${{ secrets.DOCKER_USER }}
9999
password: ${{ secrets.DOCKER_PASSWORD }}
100100

101101
- name: Build and publish Docker image
102102
if: ${{ env.CURRENT_BRANCH == env.PUBLISH_BRANCH }}
103-
uses: docker/build-push-action@v6
103+
uses: docker/build-push-action@v7
104104
with:
105105
context: .
106106
push: true

0 commit comments

Comments
 (0)