File tree Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ on: # yamllint disable-line rule:truthy
1313
1414jobs :
1515 build :
16+ name : Build and Test
1617 runs-on : ubuntu-latest
1718 steps :
1819 - uses : actions/checkout@v4
Original file line number Diff line number Diff line change 11---
2- name : Docker Release
2+ name : Release
33
44on : # yamllint disable-line rule:truthy
55 push :
6- branches :
7- - main
6+ tags :
7+ - ' * '
88
99jobs :
1010 build :
11+ name : Build and Release
12+ permissions :
13+ packages : write
14+ checks : write
1115 runs-on : ubuntu-latest
1216 steps :
1317 - uses : actions/checkout@v4
1418 with :
1519 fetch-depth : 1
1620 - name : Set up QEMU
1721 uses : docker/setup-qemu-action@v3
22+ - name : Set up Docker Buildx
23+ uses : docker/setup-buildx-action@v3
1824 - name : Setup faas-cli
1925 run : |
2026 curl -sSL https://cli.openfaas.com | sh
2329 with :
2430 registry : ghcr.io
2531 username : ${{ github.repository_owner }}
26- password : ${{ secrets.GHCR_AUTH_TOKEN }}
32+ password : ${{ secrets.GITHUB_TOKEN }}
2733 - name : Pull template
2834 run : |
2935 git clone https://github.com/tschaefer/openfaas-perl-mojo-template -b full-mojo _template
You can’t perform that action at this time.
0 commit comments