Skip to content

Commit 7ecec5a

Browse files
committed
ci(release): disable mac release and add arm arch in image release
1 parent 62b939f commit 7ecec5a

File tree

3 files changed

+9
-17
lines changed

3 files changed

+9
-17
lines changed

.github/workflows/image-release.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,13 @@ jobs:
3030
uses: actions/checkout@v3
3131

3232
- name: Set up QEMU
33-
uses: docker/setup-qemu-action@v2
33+
uses: docker/setup-qemu-action@v3
3434

3535
- name: Set up Docker Buildx
36-
uses: docker/setup-buildx-action@v2
36+
uses: docker/setup-buildx-action@v3
3737

3838
- name: Login to GitHub Container Registry
39-
uses: docker/login-action@v2
39+
uses: docker/login-action@v3
4040
with:
4141
registry: ghcr.io
4242
username: ${{ github.repository_owner }}
@@ -48,21 +48,21 @@ jobs:
4848
echo "VERSION=${VERSION:1}" >> $GITHUB_ENV
4949
5050
- name: Build and push Core
51-
uses: docker/build-push-action@v3.0.0
51+
uses: docker/build-push-action@v5
5252
with:
5353
context: .
5454
file: core/Dockerfile
5555
push: true
5656
tags: ghcr.io/funlessdev/core:latest,ghcr.io/funlessdev/core:${{ env.VERSION }}
57-
platforms: linux/amd64
57+
platforms: linux/amd64,linux/arm64/v8
5858
build-args: MIX_ENV=prod
5959

6060
- name: Build and push Worker
61-
uses: docker/build-push-action@v3.0.0
61+
uses: docker/build-push-action@v5
6262
with:
6363
context: .
6464
file: worker/Dockerfile
6565
push: true
6666
tags: ghcr.io/funlessdev/worker:latest,ghcr.io/funlessdev/worker:${{ env.VERSION }}
67-
platforms: linux/amd64
67+
platforms: linux/amd64,linux/arm64/v8
6868
build-args: MIX_ENV=prod

.github/workflows/release-core.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
strategy:
3737
fail-fast: false
3838
matrix:
39-
os: [ubuntu-22.04, windows-2022, macos-14]
39+
os: [ubuntu-22.04, windows-2022]
4040
include:
4141
- os: ubuntu-22.04
4242
rust-target: x86_64-unknown-linux-gnu
@@ -46,10 +46,6 @@ jobs:
4646
rust-target: x86_64-pc-windows-gnu
4747
release-tarball: core-x86_64-windows.tar.gz
4848
release-name: core
49-
- os: macos-14
50-
rust-target: x86_64-apple-darwin
51-
release-tarball: core-x86_64-macos.tar.gz
52-
release-name: core
5349

5450
runs-on: ${{ matrix.os }}
5551
env:

.github/workflows/release-worker.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
strategy:
3737
fail-fast: false
3838
matrix:
39-
os: [ubuntu-22.04, windows-2022, macos-14]
39+
os: [ubuntu-22.04, windows-2022]
4040
include:
4141
- os: ubuntu-22.04
4242
rust-target: x86_64-unknown-linux-gnu
@@ -46,10 +46,6 @@ jobs:
4646
rust-target: x86_64-pc-windows-gnu
4747
release-tarball: worker-x86_64-windows.tar.gz
4848
release-name: worker
49-
- os: macos-14
50-
rust-target: x86_64-apple-darwin
51-
release-tarball: worker-x86_64-macos.tar.gz
52-
release-name: worker
5349

5450
runs-on: ${{ matrix.os }}
5551
env:

0 commit comments

Comments
 (0)