From ff60ec25b5f3ca0c2aaee32c6ffdb769fee003f4 Mon Sep 17 00:00:00 2001 From: Bart Geesink Date: Wed, 21 Feb 2024 09:16:30 +0100 Subject: [PATCH] GHA: Version updates for the docker build action --- .github/workflows/deploy.yml | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 1c0d9f8..44d4e9e 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -16,18 +16,19 @@ jobs: steps: - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/setup-node@v4 with: node-version: "16" - - uses: actions/setup-java@v1 + - uses: actions/setup-java@v4 with: java-version: 11 + distribution: "temurin" server-id: openconext-releases server-username: MAVEN_USERNAME server-password: MAVEN_PASSWORD - - uses: actions/cache@v1 + - uses: actions/cache@v4 with: path: ~/.m2/repository key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} @@ -51,7 +52,7 @@ jobs: if: github.event_name != 'workflow_dispatch' && steps.versioncheck.outputs.version != github.ref_name - name: Set up JDK 11 for snapshots - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: "11" distribution: "temurin" @@ -62,7 +63,7 @@ jobs: if: ( endsWith(steps.versioncheck.outputs.version, '-SNAPSHOT')) - name: Set up JDK 11 for releases - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: "11" distribution: "temurin" @@ -79,10 +80,10 @@ jobs: MAVEN_PASSWORD: ${{ secrets.BUILD_PASSWORD }} - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: Login to GitHub Container Registry - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ github.repository_owner }} @@ -113,7 +114,7 @@ jobs: type=sha - name: Build and push the mujina idp image - uses: docker/build-push-action@v4 + uses: docker/build-push-action@v5 with: context: mujina-idp file: mujina-idp/docker/Dockerfile @@ -123,7 +124,7 @@ jobs: labels: ${{ steps.meta_idp.outputs.labels }} - name: Build and push the mujina sp image - uses: docker/build-push-action@v4 + uses: docker/build-push-action@v5 with: context: mujina-sp file: mujina-sp/docker/Dockerfile