mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-30 12:44:39 +00:00
release: Use ${GOPATH}/bin/yq for upload-libseccomp-tarball action
We need to explicitly call `${GOPATH}/bin/yq` that is installed by `ci/install_yq.sh`. Fixes: #3014 Signed-off-by: Manabu Sugimoto <Manabu.Sugimoto@sony.com>
This commit is contained in:
parent
04185bd068
commit
3430723594
5
.github/workflows/release.yaml
vendored
5
.github/workflows/release.yaml
vendored
@ -158,13 +158,14 @@ jobs:
|
|||||||
- name: download-and-upload-tarball
|
- name: download-and-upload-tarball
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GIT_UPLOAD_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GIT_UPLOAD_TOKEN }}
|
||||||
|
GOPATH: ${HOME}/go
|
||||||
run: |
|
run: |
|
||||||
pushd $GITHUB_WORKSPACE
|
pushd $GITHUB_WORKSPACE
|
||||||
./ci/install_yq.sh
|
./ci/install_yq.sh
|
||||||
tag=$(echo $GITHUB_REF | cut -d/ -f3-)
|
tag=$(echo $GITHUB_REF | cut -d/ -f3-)
|
||||||
versions_yaml="versions.yaml"
|
versions_yaml="versions.yaml"
|
||||||
version=$(yq read ${versions_yaml} "externals.libseccomp.version")
|
version=$(${GOPATH}/bin/yq read ${versions_yaml} "externals.libseccomp.version")
|
||||||
repo_url=$(yq read ${versions_yaml} "externals.libseccomp.url")
|
repo_url=$(${GOPATH}/bin/yq read ${versions_yaml} "externals.libseccomp.url")
|
||||||
download_url="${repo_url}/releases/download/v${version}"
|
download_url="${repo_url}/releases/download/v${version}"
|
||||||
tarball="libseccomp-${version}.tar.gz"
|
tarball="libseccomp-${version}.tar.gz"
|
||||||
asc="${tarball}.asc"
|
asc="${tarball}.asc"
|
||||||
|
Loading…
Reference in New Issue
Block a user