trying to fix docker build, so it includes git sha info.

This commit is contained in:
Jason Kulatunga
2022-05-26 23:44:13 -07:00
parent d7ddf01ea0
commit c7c55ab95c
6 changed files with 26 additions and 23 deletions
+4
View File
@@ -105,6 +105,8 @@ jobs:
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
build-args: |
GIT_VERSION=${{ github.ref_type == "tag" && github.ref_name || github.ref_name + "#" + github.sha }}
cache-from: type=gha
cache-to: type=gha,mode=max
omnibus:
@@ -151,5 +153,7 @@ jobs:
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
build-args: |
GIT_VERSION=${{ github.ref_type == "tag" && github.ref_name || github.ref_name + "#" + github.sha }}
cache-from: type=gha
cache-to: type=gha,mode=max