diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 1984a517f6bbb..331e614e4d091 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -131,7 +131,7 @@ jobs: - name: Set up Docker Buildx uses: docker/setup-buildx-action@988b5a0280414f521da01fcc63a27aeeb4b104db # v3 - name: Build ORT Docker Image - uses: docker/build-push-action@16ebe778df0e7752d2cfcbd924afdbbd89c1a755 # v6 + uses: docker/build-push-action@5cd11c3a4ced054e52742c5fd54dca954e0edd85 # v6 with: context: . load: true diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml index 043e38a7fd64e..22648195c4d39 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@16ebe778df0e7752d2cfcbd924afdbbd89c1a755 # v6 + uses: docker/build-push-action@5cd11c3a4ced054e52742c5fd54dca954e0edd85 # 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@16ebe778df0e7752d2cfcbd924afdbbd89c1a755 # v6 + uses: docker/build-push-action@5cd11c3a4ced054e52742c5fd54dca954e0edd85 # 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@16ebe778df0e7752d2cfcbd924afdbbd89c1a755 # v6 + uses: docker/build-push-action@5cd11c3a4ced054e52742c5fd54dca954e0edd85 # v6 with: context: . # Do not "cache-to" here to not overwrite additional layers from the "full" image, which also contains all