Tweak the build workflow
All checks were successful
Build and push container image / build (push) Successful in 37s

This commit is contained in:
toast 2023-10-24 09:47:34 +11:00
parent 75ec7a54a9
commit 02c06d7f1c

View File

@ -35,3 +35,6 @@ jobs:
tags: ${{ secrets.DOCKER_REGISTRY }}/toast/corn-utility:main tags: ${{ secrets.DOCKER_REGISTRY }}/toast/corn-utility:main
cache-from: type=registry,ref=${{ secrets.DOCKER_REGISTRY }}/toast/corn-utility:main cache-from: type=registry,ref=${{ secrets.DOCKER_REGISTRY }}/toast/corn-utility:main
cache-to: type=inline cache-to: type=inline
build-args: |
COMMIT_SHA=$(git rev-parse --short HEAD)
CACHE_BUST=${COMMIT_SHA}