Skip to content

Commit 30589e7

Browse files
authored
Disable the temporary WA (#45)
1 parent 9bdca43 commit 30589e7

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@ jobs:
2323
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2424
run: |
2525
LATEST_VERSION=$(curl -sL https://download.sysdig.com/scanning/sysdig-cli-scanner/latest_version.txt)
26-
echo "IMAGE_TAG=${LATEST_VERSION}" >> ${GITHUB_ENV}
27-
exit 0
2826
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]')
2927
if [ ! -f ${GITHUB_WORKSPACE}/cache/latest_version.txt ] || [ ${LATEST_VERSION} != ${IMAGE_TAG} ]; then
3028
echo "Container versions differ, building ${LATEST_VERSION}"

0 commit comments

Comments
 (0)