Skip to content

Commit

Permalink
adapt platforms
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Buchleitner <[email protected]>
  • Loading branch information
mabunixda committed Jan 10, 2024
1 parent a98f2b3 commit e6c083c
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/containers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,13 @@ name: Infralovers Container Build - dapr-distributed-calendar
on:
push:
branches: [ 'main' ]
paths: [ 'dapr-distributed-calendar/**' ]
pull_request:
branches: [ 'main' ]
paths: [ 'dapr-distributed-calendar/**' ]

env:
platforms: linux/amd64,linux/arm64

jobs:
build:
Expand Down Expand Up @@ -50,7 +55,7 @@ jobs:
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
with:
platforms: 'arm64,amd64'
platforms: ${{ env.platforms }}

- name: Cache Docker layers
uses: actions/cache@v2
Expand Down Expand Up @@ -85,4 +90,4 @@ jobs:
# file: ./Dockerfile
push: ${{ github.event_name != 'pull_request' && needs.prebuild.outputs.version != '' }}
tags: ${{ steps.prep.outputs.tags }}
platforms: 'arm64,amd64'
platforms: ${{ env.platforms }}

0 comments on commit e6c083c

Please sign in to comment.