Skip to content

Commit

Permalink
Test docker in CI pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
jochenchrist committed May 29, 2024
1 parent eb05070 commit 5dd618a
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,33 @@ jobs:
run: |
# -n0 disables parallel tests for more stability
pytest -n0
docker:
runs-on: ubuntu-latest
needs:
- test
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Docker meta
id: meta
uses: docker/metadata-action@v5
with:
images: |
datacontract/cli
tags: |
type=ref,event=branch
type=ref,event=pr
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
# linux/arm64 is disabled
# duckdb currently does not support linux_arm64_gcc4
# https://duckdb.org/docs/extensions/working_with_extensions#platforms
platforms: linux/amd64,linux/arm64
push: false

0 comments on commit 5dd618a

Please sign in to comment.