Skip to content

Commit

Permalink
set correct platform
Browse files Browse the repository at this point in the history
jonasbjoralt committed Sep 2, 2024

Verified

This commit was signed with the committer’s verified signature.
jonasbjoralt Jonas Bjøralt
1 parent 5aff403 commit 68de43b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
@@ -6,6 +6,7 @@ name: Docker
# documentation.

on:
workflow_dispatch:
push:
branches: [ "main" ]
# Publish semver tags as releases.
@@ -74,9 +75,10 @@ jobs:
# https://github.com/docker/build-push-action
- name: Build and push Docker image
id: build-and-push
uses: docker/build-push-action@0565240e2d4ab88bba5387d719585280857ece09 # v5.0.0
uses: docker/build-push-action@v6
with:
context: "{{defaultContext}}:ressurser/simple-api"
platforms: linux/amd64,linux/arm64
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

0 comments on commit 68de43b

Please sign in to comment.