Skip to content

Commit 64faaf4

Browse files
committed
fix: arm64 docker release
1 parent 2bf0a6a commit 64faaf4

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/docker-release.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on: # yamllint disable-line rule:truthy
55
push:
66
branches:
77
- main
8+
- ts/features/arm-release
89

910
jobs:
1011
build:
@@ -13,6 +14,9 @@ jobs:
1314
- uses: actions/checkout@v4
1415
with:
1516
fetch-depth: 1
17+
- name: Setup latest Docker
18+
run: |
19+
curl -fsSL https://get.docker.com | sh
1620
- name: Setup faas-cli
1721
run: |
1822
curl -sSL https://cli.openfaas.com | sh
@@ -34,5 +38,5 @@ jobs:
3438
- name: Build and Push
3539
run: |
3640
faas-cli publish \
37-
--platforms linux/amd64 \
41+
--platforms linux/arm64 \
3842
--build-label org.opencontainers.image.source=https://github.com/tschaefer/openfaas-minio-notify-function

stack.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ functions:
66
minio-notify:
77
lang: perl-mojo
88
handler: ./minio-notify
9-
image: ghcr.io/tschaefer/minio-notify:0.0.1
9+
image: ghcr.io/tschaefer/minio-notify:arm64
1010
build_args:
1111
ADDITIONAL_PACKAGES: "build-essential"
1212
ADDITIONAL_CPAN_PACKAGES: "Authen::SASL Email::Sender"

0 commit comments

Comments
 (0)