Skip to content

Commit

Permalink
Added additional docker platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
SlothCroissant committed Mar 16, 2023
1 parent 1684012 commit 1f570f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
env:
DOCKER_USERNAME: slothcroissant
DOCKER_CONTAINER_NAME: caddy-cloudflaredns
DOCKER_TARGET_PLATFORM: linux/amd64
DOCKER_TARGET_PLATFORM: linux/amd64, linux/arm64, linux/arm/v8, linux/arm/v7

jobs:
build:
Expand Down Expand Up @@ -52,7 +52,7 @@ jobs:
uses: docker/build-push-action@v3
with:
context: .
platforms: ${{ steps.prepare.outputs.docker_platform }}
platforms: ${{ env.DOCKER_TARGET_PLATFORM }}
push: true
tags: |
${{ env.DOCKER_USERNAME }}/${{ env.DOCKER_CONTAINER_NAME }}:${{ steps.prepare.outputs.tag }}
Expand Down

0 comments on commit 1f570f2

Please sign in to comment.