Skip to content

Commit d364194

Browse files
authored
Temp workaround container (#43)
* Temporary wa to build the image the first time * Better workaround
1 parent b7da868 commit d364194

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/sysdig-cli-scanner.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ jobs:
2424
run: |
2525
exit 0
2626
LATEST_VERSION=$(curl -sL https://download.sysdig.com/scanning/sysdig-cli-scanner/latest_version.txt)
27+
echo "IMAGE_TAG=${LATEST_VERSION}" >> ${GITHUB_ENV}
28+
exit 0
2729
IMAGE_TAG=$(gh api -H "Accept: application/vnd.github+json" /orgs/sysdiglabs/packages/container/sysdig-cli-scanner/versions | jq -r 'sort_by(.created_at) | last | .metadata.container.tags[0]')
2830
if [ ! -f ${GITHUB_WORKSPACE}/cache/latest_version.txt ] || [ ${LATEST_VERSION} != ${IMAGE_TAG} ]; then
2931
echo "Container versions differ, building ${LATEST_VERSION}"

0 commit comments

Comments
 (0)