Skip to content

Commit 4d63841

Browse files
authored
Enhancement: Add more platforms (#71)
1 parent 419de9a commit 4d63841

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/build-docker.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ on:
1010

1111
env:
1212
IMAGE: "oskarstark/phpstan-ga"
13+
PLATFORMS: linux/arm/v7,linux/arm64/v8,linux/amd64
1314

1415
jobs:
1516
build:
@@ -21,6 +22,10 @@ jobs:
2122
with:
2223
ref: '${{ github.head_ref }}'
2324

25+
- name: 'Exposing Release Version'
26+
run: |
27+
echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
28+
2429
- name: Login to Dockerhub
2530
uses: docker/login-action@v2
2631
with:
@@ -42,3 +47,4 @@ jobs:
4247
context: .
4348
cache-from: type=gha
4449
cache-to: type=gha,mode=max
50+
platforms: ${{ env.PLATFORMS }}

0 commit comments

Comments
 (0)