diff --git a/build-docker-image/action.yml b/build-docker-image/action.yml index 4f149d6..64da492 100644 --- a/build-docker-image/action.yml +++ b/build-docker-image/action.yml @@ -59,7 +59,7 @@ runs: "DOCKER_REPOSITORY=$DockerRepository" | Out-File -FilePath $env:GITHUB_ENV -Append - name: Login to GitHub Container Registry - uses: docker/login-action@v3 + uses: docker/login-action@v4 with: registry: ghcr.io username: ${{ github.repository_owner }} @@ -152,7 +152,7 @@ runs: fi - name: Build docker image using inline cache - uses: docker/build-push-action@v6 + uses: docker/build-push-action@v7 if: ${{ ( inputs.reuse-cache == 'true' && inputs.max-cache == 'false' ) }} with: tags: | @@ -173,7 +173,7 @@ runs: DOCKER_BUILD_RECORD_UPLOAD: false - name: Build docker image without reusing inline cache - uses: docker/build-push-action@v6 + uses: docker/build-push-action@v7 if: ${{ ( inputs.reuse-cache == 'false' && inputs.max-cache == 'false' ) }} with: tags: | @@ -190,10 +190,10 @@ runs: - name: Set up Docker Buildx if: ${{ inputs.max-cache == 'true' }} - uses: docker/setup-buildx-action@v3 + uses: docker/setup-buildx-action@v4 - name: Build docker image using max cache - uses: docker/build-push-action@v6 + uses: docker/build-push-action@v7 if: ${{ ( inputs.reuse-cache == 'true' && inputs.max-cache == 'true' ) }} with: tags: | @@ -215,7 +215,7 @@ runs: DOCKER_BUILD_RECORD_UPLOAD: false - name: Build docker image without reusing max cache - uses: docker/build-push-action@v6 + uses: docker/build-push-action@v7 if: ${{ ( inputs.reuse-cache == 'false' && inputs.max-cache == 'true' ) }} with: tags: |