diff --git a/.github/workflows/build-docker.yml b/.github/workflows/build-docker.yml index 3634ba8..a652675 100644 --- a/.github/workflows/build-docker.yml +++ b/.github/workflows/build-docker.yml @@ -71,12 +71,12 @@ jobs: with: token: ${{ secrets.GITHUB_TOKEN }} - name: Setup QEMU - uses: docker/setup-qemu-action@v3 + uses: docker/setup-qemu-action@v4 with: platforms: all - name: Setup Docker Buildx id: buildx - uses: docker/setup-buildx-action@v3 + uses: docker/setup-buildx-action@v4 with: buildkitd-flags: "--debug" - name: Generate tags @@ -113,20 +113,20 @@ jobs: fi - name: Login to GitHub Container Registry if: ${{ inputs.push_ghcr == true }} - uses: docker/login-action@v3 + uses: docker/login-action@v4 with: registry: ghcr.io username: ${{ github.repository_owner }} password: ${{ secrets.GITHUB_TOKEN }} - name: Login to Dockerhub Registry if: ${{ inputs.push_ghcr == true || inputs.push_dockerhub == true }} - uses: docker/login-action@v3 + uses: docker/login-action@v4 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Login to DHI Registry if: ${{ inputs.pull_dhi == true }} - uses: docker/login-action@v3 + uses: docker/login-action@v4 with: registry: dhi.io username: ${{ secrets.DOCKERHUB_USERNAME }} @@ -134,7 +134,7 @@ jobs: # Case 1: Only GHCR enabled - name: Build and push image to GHCR only if: ${{ inputs.push_ghcr == true && inputs.push_dockerhub == false }} - uses: docker/build-push-action@v6 + uses: docker/build-push-action@v7 with: builder: ${{ steps.buildx.outputs.name }} context: . @@ -158,7 +158,7 @@ jobs: # Case 2: Only DockerHub enabled - name: Build and push image to DockerHub only if: ${{ inputs.push_ghcr == false && inputs.push_dockerhub == true }} - uses: docker/build-push-action@v6 + uses: docker/build-push-action@v7 with: builder: ${{ steps.buildx.outputs.name }} context: . @@ -182,7 +182,7 @@ jobs: # Case 3: Both GHCR and DockerHub enabled - name: Build and push image to both GHCR and DockerHub if: ${{ inputs.push_ghcr == true && inputs.push_dockerhub == true }} - uses: docker/build-push-action@v6 + uses: docker/build-push-action@v7 with: builder: ${{ steps.buildx.outputs.name }} context: . @@ -209,7 +209,7 @@ jobs: # Case 4: Build only - name: Build only if: ${{ inputs.push_ghcr == false && inputs.push_dockerhub == false }} - uses: docker/build-push-action@v6 + uses: docker/build-push-action@v7 with: builder: ${{ steps.buildx.outputs.name }} context: . diff --git a/.github/workflows/synchronise-pr-version-npm.yml b/.github/workflows/synchronise-pr-version-npm.yml index 4d1ff5f..de88b63 100644 --- a/.github/workflows/synchronise-pr-version-npm.yml +++ b/.github/workflows/synchronise-pr-version-npm.yml @@ -95,7 +95,7 @@ jobs: fi - name: Generate a token id: generate-token - uses: actions/create-github-app-token@v2 + uses: actions/create-github-app-token@v3 with: app-id: ${{ secrets.bot-id }} private-key: ${{ secrets.bot-key }} diff --git a/.github/workflows/tests-e2e-npm.yml b/.github/workflows/tests-e2e-npm.yml index 8ea276e..fd0cebe 100644 --- a/.github/workflows/tests-e2e-npm.yml +++ b/.github/workflows/tests-e2e-npm.yml @@ -48,19 +48,19 @@ jobs: node-version: ${{ inputs.node_version }} - name: Login to GitHub Container Registry if: ${{ inputs.pull_ghcr == true }} - uses: docker/login-action@v3 + uses: docker/login-action@v4 with: registry: ghcr.io username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - name: Setup Docker Buildx id: buildx - uses: docker/setup-buildx-action@v3 + uses: docker/setup-buildx-action@v4 with: buildkitd-flags: "--debug" if: inputs.docker_compose_file != '' - name: Build e2e containers - uses: docker/bake-action@v6 + uses: docker/bake-action@v7 with: builder: ${{ steps.buildx.outputs.name }} files: ${{ inputs.docker_compose_file }} diff --git a/.github/workflows/tests-npm.yml b/.github/workflows/tests-npm.yml index 8e1bf4c..e3fedb0 100644 --- a/.github/workflows/tests-npm.yml +++ b/.github/workflows/tests-npm.yml @@ -113,7 +113,7 @@ jobs: run: touch .env - name: Login to GitHub Container Registry if: ${{ inputs.pull_ghcr == true }} - uses: docker/login-action@v3 + uses: docker/login-action@v4 with: registry: ghcr.io username: ${{ github.actor }}