Skip to content

Commit

Permalink
Fix builder (#1055)
Browse files Browse the repository at this point in the history
  • Loading branch information
ggravlingen authored Dec 29, 2024
1 parent 82595ec commit aaacee7
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/publish_docker_package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ jobs:
permissions:
packages: write
contents: read
strategy:
matrix:
platform:
- linux/amd64
- linux/arm64

steps:
- uses: actions/[email protected]
Expand All @@ -37,11 +42,9 @@ jobs:
- name: Build, tag, and push image to Github Container Registry
id: docker_build
env:
PLATFORMS: linux/amd64,linux/arm64,linux/arm/v7
FULL_TAG: ghcr.io/ggravlingen/pypmanager:${{ github.ref_name || inputs.image_tag }}
FULL_TAG: ghcr.io/ggravlingen/pypmanager:${{ github.ref_name }}
run: |
echo $FULL_TAG
docker buildx build --push --platform ${PLATFORMS} -t $FULL_TAG .
docker buildx build --push --platform ${{ matrix.platform }} -t $FULL_TAG .
- name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}

0 comments on commit aaacee7

Please sign in to comment.