Skip to content

Commit aaee4d4

Browse files
committed
Update github actions DEVOPS-2662
1 parent 9164ebe commit aaee4d4

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/build-deploy.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
runs-on: ubuntu-latest
2121
steps:
2222
- name: checkout module
23-
uses: actions/checkout@v5
23+
uses: actions/checkout@v6
2424

2525
- name: Set up JDK 17
2626
uses: actions/setup-java@v5
@@ -29,14 +29,14 @@ jobs:
2929
distribution: 'temurin'
3030

3131
- name: Cache SonarCloud packages
32-
uses: actions/cache@v4
32+
uses: actions/cache@v5
3333
with:
3434
path: ~/.sonar/cache
3535
key: ${{ runner.os }}-sonar
3636
restore-keys: ${{ runner.os }}-sonar
3737

3838
- name: Cache Maven packages
39-
uses: actions/cache@v4
39+
uses: actions/cache@v5
4040
with:
4141
path: ~/.m2
4242
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
@@ -52,20 +52,20 @@ jobs:
5252
run: mvn -B org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.host.url=https://sonarcloud.io -Dsonar.organization=indexdata -Dsonar.projectKey=indexdata_${{ github.event.repository.name }}
5353

5454
- name: Log in to the Container registry
55-
uses: docker/login-action@v3
55+
uses: docker/login-action@v4
5656
with:
5757
registry: ${{ env.REGISTRY }}
5858
username: ${{ github.actor }}
5959
password: ${{ secrets.GITHUB_TOKEN }}
6060

6161
- name: Extract metadata (tags, labels) for Docker
6262
id: meta
63-
uses: docker/metadata-action@v5
63+
uses: docker/metadata-action@v6
6464
with:
6565
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
6666

6767
- name: Build and push Docker image
68-
uses: docker/build-push-action@v6
68+
uses: docker/build-push-action@v7
6969
with:
7070
context: .
7171
push: true

0 commit comments

Comments
 (0)