mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-19 15:58:25 +00:00
gha: ci: Avoid using env unless it's really needed
de83cd9de7
tried to solve an issue, but it
clearly seems that I'm using env wrongly, as what ended up being passed
as input was "$VAR", instead of the content of the VAR variable.
As we can simply avoid using those here, let's do it and save us a
headache.
Fixes: #7247
Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>
This commit is contained in:
15
.github/workflows/payload-after-push.yaml
vendored
15
.github/workflows/payload-after-push.yaml
vendored
@@ -5,28 +5,25 @@ on:
|
||||
- main
|
||||
- stable-*
|
||||
|
||||
env:
|
||||
COMMIT_HASH: $GITHUB_REF
|
||||
|
||||
jobs:
|
||||
build-assets-amd64:
|
||||
uses: ./.github/workflows/build-kata-static-tarball-amd64.yaml
|
||||
with:
|
||||
commit-hash: $COMMIT_HASH
|
||||
commit-hash: ${GITHUB_REF}
|
||||
push-to-registry: yes
|
||||
secrets: inherit
|
||||
|
||||
build-assets-arm64:
|
||||
uses: ./.github/workflows/build-kata-static-tarball-arm64.yaml
|
||||
with:
|
||||
commit-hash: $COMMIT_HASH
|
||||
commit-hash: ${GITHUB_REF}
|
||||
push-to-registry: yes
|
||||
secrets: inherit
|
||||
|
||||
build-assets-s390x:
|
||||
uses: ./.github/workflows/build-kata-static-tarball-s390x.yaml
|
||||
with:
|
||||
commit-hash: $COMMIT_HASH
|
||||
commit-hash: ${GITHUB_REF}
|
||||
push-to-registry: yes
|
||||
secrets: inherit
|
||||
|
||||
@@ -34,7 +31,7 @@ jobs:
|
||||
needs: build-assets-amd64
|
||||
uses: ./.github/workflows/publish-kata-deploy-payload-amd64.yaml
|
||||
with:
|
||||
commit-hash: $COMMIT_HASH
|
||||
commit-hash: ${GITHUB_REF}
|
||||
registry: quay.io
|
||||
repo: kata-containers/kata-deploy-ci
|
||||
tag: kata-containers-amd64
|
||||
@@ -44,7 +41,7 @@ jobs:
|
||||
needs: build-assets-arm64
|
||||
uses: ./.github/workflows/publish-kata-deploy-payload-arm64.yaml
|
||||
with:
|
||||
commit-hash: $COMMIT_HASH
|
||||
commit-hash: ${GITHUB_REF}
|
||||
registry: quay.io
|
||||
repo: kata-containers/kata-deploy-ci
|
||||
tag: kata-containers-arm64
|
||||
@@ -54,7 +51,7 @@ jobs:
|
||||
needs: build-assets-s390x
|
||||
uses: ./.github/workflows/publish-kata-deploy-payload-s390x.yaml
|
||||
with:
|
||||
commit-hash: $COMMIT_HASH
|
||||
commit-hash: ${GITHUB_REF}
|
||||
registry: quay.io
|
||||
repo: kata-containers/kata-deploy-ci
|
||||
tag: kata-containers-s390x
|
||||
|
Reference in New Issue
Block a user