Skip to content

Commit

Permalink
ci(patch): test
Browse files Browse the repository at this point in the history
Signed-off-by: r3drun3 <[email protected]>
  • Loading branch information
R3DRUN3 committed Apr 18, 2024
1 parent 3cc4854 commit 560dfdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/patch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ jobs:
password: ${{ secrets.SIGHUP_REGISTRY_PASSWORD }}

- name: Move image to new location if copa/trivy failed
if: steps.copa.conclusion != 'success'
if: failure() && steps.copa.conclusion == 'failure'
run: |
docker pull registry.sighup.io/fury/${{ env.IMAGE_NAME }}:${{ env.PATCHED_TAG }} &&
docker tag registry.sighup.io/fury/${{ env.IMAGE_NAME }}:${{ env.PATCHED_TAG }} registry.sighup.io/fury/secured/${{ env.IMAGE_NAME }}:${{ env.PATCHED_TAG }} &&
Expand Down

0 comments on commit 560dfdc

Please sign in to comment.