Skip to content

Commit

Permalink
docs(github): Explain why there is no cache-to for the "minimal" image
Browse files Browse the repository at this point in the history
Signed-off-by: Sebastian Schuberth <[email protected]>
  • Loading branch information
sschuberth committed Jun 12, 2024
1 parent 8ebfe9a commit 6d1db78
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,8 @@ jobs:
uses: docker/build-push-action@v5
with:
context: .
# Do not "cache-to" here to not overwrite additional layers from the "full" image, which also contains all
# layers present in the "minimal" image anyway.
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta-ort-minimal.outputs.tags }}
labels: ${{ steps.meta-ort-minimal.outputs.labels }}
Expand Down

0 comments on commit 6d1db78

Please sign in to comment.