|
|
@@ -126,6 +126,10 @@ jobs:
|
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
+ strategy:
|
|
|
+ matrix:
|
|
|
+ platform: [linux/amd64, linux/arm64]
|
|
|
+
|
|
|
steps:
|
|
|
- uses: actions/checkout@v3
|
|
|
with:
|
|
|
@@ -156,6 +160,10 @@ jobs:
|
|
|
username: wsmoogle
|
|
|
password: ${{ secrets.DOCKER_REGISTRY_ON_GITHUB_PASSWORD }}
|
|
|
|
|
|
+ - name: Set up QEMU
|
|
|
+ if: ${{ matrix.platform == 'linux/arm64' }}
|
|
|
+ uses: docker/setup-qemu-action@v1
|
|
|
+
|
|
|
- name: Set up Docker Buildx
|
|
|
uses: docker/setup-buildx-action@v2
|
|
|
|
|
|
@@ -164,7 +172,7 @@ jobs:
|
|
|
with:
|
|
|
context: .
|
|
|
file: ./packages/app/docker/Dockerfile
|
|
|
- platforms: linux/amd64
|
|
|
+ platforms: ${{ matrix.platform }}
|
|
|
push: true
|
|
|
builder: ${{ steps.buildx.outputs.name }}
|
|
|
cache-from: type=gha
|
|
|
@@ -185,6 +193,7 @@ jobs:
|
|
|
channel: '#release'
|
|
|
url: ${{ secrets.SLACK_WEBHOOK_URL }}
|
|
|
created_tag: 'v${{ needs.create-github-release.outputs.RELEASED_VERSION }}'
|
|
|
+ message: '*Release v${{ needs.create-github-release.outputs.RELEASED_VERSION }} (${{ matrix.platform }})* Succeeded'
|
|
|
|
|
|
- name: Check whether workspace is clean
|
|
|
run: |
|