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

This commit is contained in:
Jason Kulatunga
2022-05-26 23:54:17 -07:00
parent c7c55ab95c
commit e19ee78e70
+2 -2
View File
@@ -106,7 +106,7 @@ jobs:
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 }}
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:
@@ -154,6 +154,6 @@ jobs:
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 }}
GIT_VERSION=${{ github.ref_type == 'tag' && github.ref_name || github.ref_name + '#' + github.sha }}
cache-from: type=gha
cache-to: type=gha,mode=max