Skip to content

Commit

Permalink
add arm64
Browse files Browse the repository at this point in the history
  • Loading branch information
Nina Bernick committed Aug 1, 2024
1 parent 48fb829 commit 12e3b59
Show file tree
Hide file tree
Showing 3 changed files with 771 additions and 655 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/build-and-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ on:
types:
- published
workflow_dispatch:
inputs:
release_tag:
description: "Release tag version to tag image, e.g. v0.1.1"
required: true
type: string

jobs:
build-and-push:
Expand Down Expand Up @@ -35,7 +40,7 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3

- name: Build with Poetry
run: make build-wheel
Expand All @@ -45,6 +50,7 @@ jobs:
with:
context: .
push: true
platforms: linux/amd64,linux/arm64
tags: |
ghcr.io/${{ github.repository }}:${{ github.event.release.tag_name }}
ghcr.io/${{ github.repository }}:${{ github.event.release.tag_name || github.event.inputs.release_tag }}
ghcr.io/${{ github.repository }}:latest
Loading

0 comments on commit 12e3b59

Please sign in to comment.