Skip to content

Commit

Permalink
ci: fix pipeline and put platforms variable on the correct place
Browse files Browse the repository at this point in the history
  • Loading branch information
lentidas committed Dec 4, 2023
1 parent 6c4e39e commit 1f26f78
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/builder.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,13 @@ jobs:

- name: "Set up Docker Buildx"
uses: docker/setup-buildx-action@v3
with:
platforms: "linux/amd64,linux/arm64"


- name: "Build and eventually push container image"
uses: docker/build-push-action@v5
with:
context: .
file: ./Dockerfile
platforms: "linux/amd64,linux/arm64"
tags: ${{ steps.metadata_extraction.outputs.tags }}
labels: ${{ steps.metadata_extraction.outputs.labels }}
push: ${{ github.event_name == 'push' && github.ref_type == 'tag' }} # Only push builded image if we push a tag

0 comments on commit 1f26f78

Please sign in to comment.