diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 5e7f595d2dd0f..02a42e97dff7a 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -121,7 +121,7 @@ jobs: - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 - name: Build ORT Docker Image - uses: docker/build-push-action@v5 + uses: docker/build-push-action@v6 with: context: . load: true diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml index 9ac588651af76..5342ba83f3ca9 100644 --- a/.github/workflows/docker-build.yml +++ b/.github/workflows/docker-build.yml @@ -56,7 +56,7 @@ jobs: type=sha - name: Build & Push 'ort' Docker Image if: ${{ github.event_name != 'pull_request' }} - uses: docker/build-push-action@v5 + uses: docker/build-push-action@v6 with: context: . push: true @@ -67,7 +67,7 @@ jobs: build-args: ORT_VERSION=${{ env.ORT_VERSION }} - name: Build 'ort' Docker Image if: ${{ github.event_name == 'pull_request' }} - uses: docker/build-push-action@v5 + uses: docker/build-push-action@v6 with: context: . tags: ${{ steps.meta-ort.outputs.tags }} @@ -87,7 +87,7 @@ jobs: type=ref,event=tag type=sha - name: Build & Push 'ort-minimal' Docker Image - uses: docker/build-push-action@v5 + uses: docker/build-push-action@v6 with: context: . # Do not "cache-to" here to not overwrite additional layers from the "full" image, which also contains all