mirror of
https://github.com/project-zot/zot.git
synced 2025-02-03 23:09:41 -05: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:
parent
fd87a22829
commit
14954596cb
2 changed files with 3 additions and 1 deletions
2
.github/workflows/ci-cd.yml
vendored
2
.github/workflows/ci-cd.yml
vendored
|
@ -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 }}
|
||||
|
|
|
@ -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":{
|
||||
|
|
Loading…
Add table
Reference in a new issue