File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -13,11 +13,13 @@ jobs:
1313 - uses : actions/checkout@v4
1414 with :
1515 fetch-depth : 1
16+ - name : Set up QEMU
17+ uses : docker/setup-qemu-action@v3
1618 - name : Setup faas-cli
1719 run : |
1820 curl -sSL https://cli.openfaas.com | sh
1921 # TODO: Check if this is doable with the docker login action
20- - name : Docker Login
22+ - name : GHCR Login
2123 env :
2224 GHCR_AUTH_TOKEN : ${{ secrets.GHCR_AUTH_TOKEN }}
2325 run : |
3032 git clone https://github.com/tschaefer/openfaas-perl-mojo-template -b full-mojo _template
3133 mv _template/template .
3234 rm -rf _template
33- # TODO: Fix and add arm64 build. cpanm fails with: `gzip: stdin: not in gzip format`
3435 - name : Build and Push
3536 run : |
3637 faas-cli publish \
37- --platforms linux/amd64 \
38+ --platforms linux/amd64,linux/arm64 \
3839 --build-label org.opencontainers.image.source=https://github.com/tschaefer/openfaas-minio-notify-function
Original file line number Diff line number Diff 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:0.0.2
1010 build_args :
1111 ADDITIONAL_PACKAGES : " build-essential"
1212 ADDITIONAL_CPAN_PACKAGES : " Authen::SASL Email::Sender"
You can’t perform that action at this time.
0 commit comments