Skip to content

Commit b3cf7a6

Browse files
committed
Disable branch publish; fix duckdb inspect tag
1 parent cec9db1 commit b3cf7a6

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ on:
66
- "v*" # Push events to matching v*, i.e. v1.0, v20.15.10
77
branches:
88
- "main"
9-
- "duckdb-odbc-docker"
109
paths-ignore:
1110
- "docs/**"
1211
- "README.md"
@@ -166,12 +165,12 @@ jobs:
166165
platforms: ${{ matrix.platform }}
167166
target: ${{ matrix.variant.target }}
168167
labels: ${{ steps.meta.outputs.labels }}
169-
push: ${{ github.event_name != 'pull_request' || github.ref == 'refs/heads/duckdb-odbc-docker' }}
168+
push: ${{ github.event_name != 'pull_request' }}
170169
tags: ${{ steps.meta.outputs.tags }}
171170
cache-from: type=registry,ref=${{ env.REGISTRY_IMAGE }}:main${{ steps.suffix.outputs.suffix }}
172171
# don't save cache on prs
173172
cache-to: >
174-
${{ (github.event_name != 'pull_request' || github.ref == 'refs/heads/duckdb-odbc-docker')
173+
${{ github.event_name != 'pull_request'
175174
&& format('type=registry,ref={0}:main{1},compression=zstd,mode=max', env.REGISTRY_IMAGE, steps.suffix.outputs.suffix)
176175
|| ''
177176
}}
@@ -192,7 +191,7 @@ jobs:
192191

193192
docker_push:
194193
runs-on: ubuntu-latest
195-
if: github.event_name != 'pull_request' || github.ref == 'refs/heads/duckdb-odbc-docker'
194+
if: github.event_name != 'pull_request'
196195
needs:
197196
- docker_build
198197
strategy:
@@ -229,4 +228,4 @@ jobs:
229228
$(printf '${{ env.REGISTRY_IMAGE }}@sha256:%s ' *)
230229
- name: Inspect image
231230
run: |
232-
docker buildx imagetools inspect ${{ env.REGISTRY_IMAGE }}:${{ steps.meta.outputs.version }}${{ matrix.variant.suffix }}
231+
docker buildx imagetools inspect ${{ env.REGISTRY_IMAGE }}:${{ steps.meta.outputs.version }}

0 commit comments

Comments
 (0)