|
6 | 6 |
|
7 | 7 | name: Publish monitoring image to Docker Registry (on new release tag) |
8 | 8 | on: |
9 | | - push: |
10 | | - tags: |
11 | | - # To modify to trigger the job for fork's releases |
12 | | - # Note: GitHub's filter pattern capabilities are limited[1], so this |
13 | | - # pattern matches more often than it should. A more correct regex would |
14 | | - # be the one found in scripts/tag.sh. |
15 | | - # [1] https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#filter-pattern-cheat-sheet |
16 | | - - "interuss/monitoring/v[0-9]+.[0-9]+.[0-9]+-?*" |
| 9 | + pull_request: # TODO: added for testing purposes, remove me before merging |
| 10 | +# TODO: commented out for testing purposes, restore me before merging |
| 11 | +# push: |
| 12 | +# tags: |
| 13 | +# # To modify to trigger the job for fork's releases |
| 14 | +# # Note: GitHub's filter pattern capabilities are limited[1], so this |
| 15 | +# # pattern matches more often than it should. A more correct regex would |
| 16 | +# # be the one found in scripts/tag.sh. |
| 17 | +# # [1] https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#filter-pattern-cheat-sheet |
| 18 | +# - "interuss/monitoring/v[0-9]+.[0-9]+.[0-9]+-?*" |
17 | 19 | permissions: |
18 | 20 | contents: read |
19 | 21 | jobs: |
|
28 | 30 | steps: |
29 | 31 | - name: Install Cosign |
30 | 32 | uses: sigstore/cosign-installer@cad07c2e89fa2edd6e2d7bab4c1aa38e53f76003 # v4.1.1 |
31 | | - with: |
32 | | - cosign-release: 'v2.6.1' |
33 | 33 | - name: Job information |
34 | 34 | run: | |
35 | 35 | echo "Job information" |
|
56 | 56 | - name: Build, push and sign image |
57 | 57 | env: |
58 | 58 | DOCKER_URL: ${{ secrets.DOCKER_URL }} |
59 | | - DOCKER_UPDATE_LATEST: true |
| 59 | + DOCKER_UPDATE_LATEST: false # TODO: changed for testing purposes, revert me to 'true' before merging |
60 | 60 | DOCKER_SIGN: true |
61 | 61 | CERT_IDENTITY: https://github.com/${{ github.workflow_ref }} |
62 | 62 | CERT_ISSUER: https://token.actions.githubusercontent.com |
|
0 commit comments