Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

de-matrix the docker platforms #307

Merged
merged 1 commit into from
Oct 18, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ jobs:
strategy:
matrix:
postgres: ["15", "16", "17"]
platform: ["linux/amd64", "linux/arm64"]

steps:
- name: Login to Docker Hub
Expand All @@ -39,14 +38,14 @@ jobs:
- name: Set up Docker buildx
uses: docker/setup-buildx-action@v3
with:
platforms: ${{ matrix.platform }}
platforms: linux/amd64,linux/arm64
- name: docker bake
uses: docker/bake-action@v5
with:
targets: pg_duckdb_${{ matrix.postgres }}
push: true
set: |
*.platform=${{ matrix.platform }}
*.platform=linux/amd64,linux/arm64
*.cache-to=type=gha,mode=max
*.cache-from=type=gha
postgres.tags=pgduckdb/pgduckdb:${{ matrix.postgres }}-${{ github.sha }}
Expand Down