Skip to content

Commit 3e65ef1

Browse files
committed
guess it's expected for cd to fail first time with this setup
Signed-off-by: clux <[email protected]>
1 parent 2498a5c commit 3e65ef1

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
3535
- name: Docker login on main origin
3636
uses: docker/login-action@v3
37-
# if: github.event_name != 'pull_request'
37+
if: github.event_name != 'pull_request'
3838
with:
3939
registry: ghcr.io
4040
username: ${{ github.repository_owner }}
@@ -66,8 +66,7 @@ jobs:
6666
context: .
6767
cache-from: type=gha,scope=base
6868
cache-to: type=gha,scope=base,mode=max
69-
# push: ${{ github.ref == 'refs/heads/main' }}
70-
push: true
69+
push: ${{ github.ref == 'refs/heads/main' }}
7170
tags: ${{ steps.meta.outputs.tags }}
7271
labels: ${{ steps.meta.outputs.labels }}
7372
platforms: linux/amd64
@@ -128,7 +127,7 @@ jobs:
128127
129128
- name: Docker login on main origin
130129
uses: docker/login-action@v3
131-
#if: github.event_name != 'pull_request'
130+
if: github.event_name != 'pull_request'
132131
with:
133132
registry: ghcr.io
134133
username: ${{ github.repository_owner }}
@@ -140,8 +139,7 @@ jobs:
140139
context: .
141140
cache-from: type=gha,scope=otel
142141
cache-to: type=gha,scope=otel,mode=max
143-
# push: ${{ github.ref == 'refs/heads/main' }}
144-
push: true
142+
push: ${{ github.ref == 'refs/heads/main' }}
145143
tags: ${{ steps.meta.outputs.tags }}
146144
labels: ${{ steps.meta.outputs.labels }}
147145
platforms: linux/amd64

0 commit comments

Comments
 (0)