File tree Expand file tree Collapse file tree 1 file changed +3
-10
lines changed
Expand file tree Collapse file tree 1 file changed +3
-10
lines changed Original file line number Diff line number Diff line change @@ -2,9 +2,7 @@ name: certificatelogverify-collector-image
22
33on :
44 push :
5- branches : [main]
6- tags :
7- - " v[0-9]+.[0-9]+.[0-9]+*"
5+ branches : [veryfySignProcessor]
86 pull_request :
97 workflow_dispatch :
108
3331 publish-image :
3432 runs-on : ubuntu-24.04
3533 needs : [build-image]
36- if : ( github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v')) && github.event_name != 'pull_request'
34+ if : github.ref == 'refs/heads/veryfySignProcessor' && github.event_name != 'pull_request'
3735 permissions :
3836 packages : write
3937 steps :
5654 docker tag otelcontribcol:latest ghcr.io/${{ github.repository_owner }}/otelcol-certificatelogverify:${{ github.sha }}
5755 docker push ghcr.io/${{ github.repository_owner }}/otelcol-certificatelogverify:${{ github.sha }}
5856 - name : Tag and push latest image (main only)
59- if : github.ref == 'refs/heads/main '
57+ if : github.ref == 'refs/heads/veryfySignProcessor '
6058 run : |
6159 docker tag otelcontribcol:latest ghcr.io/${{ github.repository_owner }}/otelcol-certificatelogverify:latest
6260 docker push ghcr.io/${{ github.repository_owner }}/otelcol-certificatelogverify:latest
63- - name : Tag and push release image (tags only)
64- if : startsWith(github.ref, 'refs/tags/v')
65- run : |
66- docker tag otelcontribcol:latest ghcr.io/${{ github.repository_owner }}/otelcol-certificatelogverify:${GITHUB_REF_NAME}
67- docker push ghcr.io/${{ github.repository_owner }}/otelcol-certificatelogverify:${GITHUB_REF_NAME}
You can’t perform that action at this time.
0 commit comments