Skip to content

Commit

Permalink
Merge pull request #313 from Josh-Everett/quay_org_change
Browse files Browse the repository at this point in the history
feat(STONEINTG-946): migrate redhat-appstudio/konflux-test
  • Loading branch information
Josh-Everett authored Dec 4, 2024
2 parents 671fbbb + ad90aef commit 6460a83
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
13 changes: 12 additions & 1 deletion .github/workflows/build_reusable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
echo
done
- name: Push To quay.io
- name: Push To deprecated appstudio quay.io
id: push-to-quay
if: ${{ inputs.push }}
uses: redhat-actions/push-to-registry@v2
Expand All @@ -61,6 +61,17 @@ jobs:
username: ${{ secrets.KONFLUX_TEST_QUAY_USER }}
password: ${{ secrets.KONFLUX_TEST_QUAY_TOKEN }}

- name: Push To quay.io
id: push-to-quay
if: ${{ inputs.push }}
uses: redhat-actions/push-to-registry@v2
with:
image: ${{ steps.build-image.outputs.image }}
tags: ${{ steps.build-image.outputs.tags }}
registry: quay.io/konflux-ci
username: ${{ secrets.KONFLUX_CI_TEST_QUAY_USER }}
password: ${{ secrets.KONFLUX_CI_TEST_QUAY_TOKEN }}

- name: Print image url
if: ${{ inputs.push }}
run: echo "Image pushed to ${{ steps.push-to-quay.outputs.registry-paths }}"
4 changes: 2 additions & 2 deletions .github/workflows/clam-ver-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ jobs:
- name: Get clamav version from latest konflux-test release
id: vars
run: |
echo "currentVer=$(podman run --rm -t --entrypoint='/usr/bin/clamscan' quay.io/redhat-appstudio/konflux-test:latest --version)" >> $GITHUB_OUTPUT
echo "currentVer=$(podman run --rm -t --entrypoint='/usr/bin/clamscan' quay.io/konflux-ci/konflux-test:latest --version)" >> $GITHUB_OUTPUT
if [ $? != 0 ]; then
echo "There was an issue getting current clamav version from konflux-test image."
exit 1
fi
- name: Get latest clamav rpm version and compare
run: |
repoVer=$(podman run --rm -t --entrypoint="/usr/bin/rpm" quay.io/redhat-appstudio/konflux-test:latest --queryformat "%{VERSION}" -q clamav)
repoVer=$(podman run --rm -t --entrypoint="/usr/bin/rpm" quay.io/konflux-ci/konflux-test:latest --queryformat "%{VERSION}" -q clamav)
if [ $? != 0 ]; then
echo "There was an issue getting clamav package version."
exit 1
Expand Down

0 comments on commit 6460a83

Please sign in to comment.