mirror of
https://github.com/project-zot/zot.git
synced 2026-06-19 14:08:01 +08:00
ci: fix image build/release workflow (#874)
Fix typo in the workflow. Pass RELEASE_TAG env var. Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com>
This commit is contained in:
committed by
GitHub
parent
fd87a22829
commit
14954596cb
@@ -246,6 +246,7 @@ jobs:
|
||||
with:
|
||||
file: 'stacker-zxp.yaml'
|
||||
build-args: |
|
||||
RELEASE_TAG=${{ github.event.release.tag_name }}
|
||||
COMMIT=${{ github.event.release.tag_name }}-${{ github.sha }}
|
||||
OS=${{ matrix.os }}
|
||||
ARCH=${{ matrix.arch }}
|
||||
@@ -291,6 +292,7 @@ jobs:
|
||||
with:
|
||||
file: 'stacker-zb.yaml'
|
||||
build-args: |
|
||||
RELEASE_TAG=${{ github.event.release.tag_name }}
|
||||
COMMIT=${{ github.event.release.tag_name }}-${{ github.sha }}
|
||||
OS=${{ matrix.os }}
|
||||
ARCH=${{ matrix.arch }}
|
||||
|
||||
+1
-1
@@ -13,7 +13,7 @@ build:
|
||||
cd /go/src/github.com/project-zot
|
||||
git clone /zotcopy zot
|
||||
cd /go/src/github.com/project-zot/zot
|
||||
make COMMIT=${{COMMIT}} OS=${{OS}} ARCH=${{ARCH}} RELEASE_TAG=&{{RELEASE_TAG}} clean binary${{EXT:}}
|
||||
make COMMIT=${{COMMIT}} OS=${{OS}} ARCH=${{ARCH}} RELEASE_TAG=${{RELEASE_TAG}} clean binary${{EXT:}}
|
||||
cat > config.json << EOF
|
||||
{
|
||||
"storage":{
|
||||
|
||||
Reference in New Issue
Block a user