diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 1c0d9f8..f74109f 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -16,18 +16,18 @@ 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 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 +51,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 +62,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 +79,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 +113,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 +123,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