Explain server image publish gate
This commit is contained in:
@@ -142,6 +142,9 @@ jobs:
|
||||
exit 0
|
||||
fi
|
||||
bash tools/ci/publish-image.sh
|
||||
- name: Explain disabled server-image publishing
|
||||
if: ${{ gitea.ref == 'refs/heads/main' && gitea.event_name != 'pull_request' && vars.HARBOR_SERVER_REPOSITORY == '' }}
|
||||
run: echo 'Server image was not pushed to Harbor: set the HARBOR_SERVER_REPOSITORY Gitea variable.'
|
||||
|
||||
image:
|
||||
needs: [checks]
|
||||
|
||||
Reference in New Issue
Block a user