Skip to content

Commit 86fd6ec

Browse files
author
MJarmo
committed
fix img build
Signed-off-by: MJarmo <michal.jarmolkiewicz@sap.com>
1 parent 5704571 commit 86fd6ec

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

.github/workflows/certificatelogverify-collector-image.yml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@ name: certificatelogverify-collector-image
22

33
on:
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

@@ -33,7 +31,7 @@ jobs:
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:
@@ -56,12 +54,7 @@ jobs:
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}

0 commit comments

Comments
 (0)