Skip to content

Commit

Permalink
Try docker multiplatform publication
Browse files Browse the repository at this point in the history
  • Loading branch information
Stéphane Senart committed Jan 10, 2025
1 parent 44c48e0 commit a6afba7
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/publish-to-dockerhub/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,18 @@ inputs:
runs:
using: "composite"
steps:

- name: Set up Docker
uses: docker/setup-docker-action@v4
with:
daemon-config: |
{
"debug": true,
"features": {
"containerd-snapshotter": true
}
}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v5
Expand Down Expand Up @@ -48,5 +60,6 @@ runs:
context: "{{defaultContext}}"
file: ./docker/Dockerfile
push: true
platforms: linux/amd64,linux/arm64
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

0 comments on commit a6afba7

Please sign in to comment.