Skip to content

Commit

Permalink
temp hack to force push to quay
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewd-sysdig authored Dec 5, 2023
1 parent dfe5eba commit 7bc0983
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/sysdig-cli-scanner.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ jobs:
run: |
LATEST_VERSION=$(curl -sL https://download.sysdig.com/scanning/sysdig-cli-scanner/latest_version.txt)
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]')
if [[ ${LATEST_VERSION} != ${IMAGE_TAG} ]]; then
echo "Container versions differ, building ${LATEST_VERSION}"
#if [[ ${LATEST_VERSION} != ${IMAGE_TAG} ]]; then
# echo "Container versions differ, building ${LATEST_VERSION}"
echo "IMAGE_TAG=${LATEST_VERSION}" >> ${GITHUB_ENV}
else
echo "Container already using latest version"
#else
# echo "Container already using latest version"
# exit 1
fi
#fi
- name: Checkout
uses: actions/checkout@v2
Expand Down

0 comments on commit 7bc0983

Please sign in to comment.