Skip to content

Commit

Permalink
Multi arch build
Browse files Browse the repository at this point in the history
  • Loading branch information
sylvesterdamgaard committed Dec 2, 2024
1 parent d3128e8 commit 55a018d
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,20 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
with:
install: true

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

- name: Build and Push Docker Image
- name: Build and Push Docker Image (Multi-Arch)
uses: docker/build-push-action@v5
with:
context: .
push: true
platforms: linux/amd64,linux/arm64
tags: |
ghcr.io/sylvesterdamgaard/s3-mirror:${{ github.ref_name }}
ghcr.io/sylvesterdamgaard/s3-mirror:latest

0 comments on commit 55a018d

Please sign in to comment.