Skip to content

Commit

Permalink
set correct platform
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasbjoralt committed Sep 2, 2024
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
Expand Up @@ -6,6 +6,7 @@ name: Docker
# documentation.

on:
workflow_dispatch:
push:
branches: [ "main" ]
# Publish semver tags as releases.
Expand Down Expand Up @@ -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 }}
Expand Down

0 comments on commit 68de43b

Please sign in to comment.