Skip to content

Commit c417ca4

Browse files
authored
chore(ci): Fix docker build conditional (#166)
1 parent ca8043d commit c417ca4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/push-oidc-containers.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ jobs:
6363
context: .
6464
file: Dockerfile
6565
target: oidc-server
66-
push: ${{ github.event_name == 'push' && (github.ref == 'refs/heads/test-oidc' || startsWith(github.ref, 'refs/tags/')) }}
66+
push: ${{ github.event_name == 'push' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/')) }}
6767
tags: |
6868
matterlabs/sso-oidc-salt:${{ steps.docker_tag.outputs.tag }}
6969
matterlabs/sso-oidc-salt:latest
@@ -77,7 +77,7 @@ jobs:
7777
context: .
7878
file: Dockerfile
7979
target: key-registry
80-
push: ${{ github.event_name == 'push' && (github.ref == 'refs/heads/test-oidc' || startsWith(github.ref, 'refs/tags/')) }}
80+
push: ${{ github.event_name == 'push' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/')) }}
8181
tags: |
8282
matterlabs/sso-oidc-key-updater:${{ steps.docker_tag.outputs.tag }}
8383
matterlabs/sso-oidc-key-updater:latest

0 commit comments

Comments
 (0)