diff --git a/.gitea/workflows/build_container.yml b/.gitea/workflows/build_container.yml index 6f87ac9..37a02b6 100644 --- a/.gitea/workflows/build_container.yml +++ b/.gitea/workflows/build_container.yml @@ -35,3 +35,6 @@ jobs: tags: ${{ secrets.DOCKER_REGISTRY }}/toast/corn-utility:main cache-from: type=registry,ref=${{ secrets.DOCKER_REGISTRY }}/toast/corn-utility:main cache-to: type=inline + build-args: | + COMMIT_SHA=$(git rev-parse --short HEAD) + CACHE_BUST=${COMMIT_SHA}