File tree Expand file tree Collapse file tree 4 files changed +21
-4
lines changed
Expand file tree Collapse file tree 4 files changed +21
-4
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,10 @@ permissions:
1414 issues : write
1515 pull-requests : write
1616
17+ concurrency :
18+ group : ${{ github.workflow }}-${{ github.ref }}
19+ cancel-in-progress : true
20+
1721jobs :
1822 build :
1923 runs-on : ubuntu-latest
7882 # Build and push all variants
7983 make push VERSION="$VERSION" REGISTRY="ghcr.io/${{ github.repository_owner }}"
8084 shell : bash
81- - name : Log in to GHCR
82- run : echo "${{ secrets.GHCR_PAT }}" | docker login ghcr.io -u skunxicat --password-stdin
8385 - name : Create release
8486 if : env.SHOULD_RELEASE == 'true'
8587 run : npx semantic-release
Original file line number Diff line number Diff line change 1515 - ' runtime/**'
1616 - ' task/handler.sh'
1717
18+ concurrency :
19+ group : ${{ github.workflow }}-${{ github.ref }}
20+ cancel-in-progress : true
21+
1822jobs :
1923 build-base :
2024 runs-on : ubuntu-latest
3337
3438 - name : Build and push base
3539 run : |
36- ./build --platform linux/arm64 --tag ghcr.io/${{ github.repository_owner }}/lambda-shell-runtime --push base
40+ docker buildx build \
41+ --platform linux/arm64 \
42+ --provenance=false \
43+ --secret id=github_token,env=GITHUB_TOKEN \
44+ --target base \
45+ --tag ghcr.io/${{ github.repository_owner }}/lambda-shell-runtime:base \
46+ --push \
47+ .
3748 env :
3849 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 1111 paths :
1212 - ' Dockerfile'
1313
14+ concurrency :
15+ group : ${{ github.workflow }}-${{ github.ref }}
16+ cancel-in-progress : true
17+
1418jobs :
1519 build-installers :
1620 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ for VARIANT in $VARIANTS; do
4141 DOCKERFILE=" ./Dockerfile"
4242 TARGET=" $VARIANT "
4343
44- [ " $VARIANT " = " base" ] && TARGET=" "
44+ [ " $VARIANT " = " base" ] && TARGET=" base "
4545
4646 echo " Building $VARIANT ($DOCKERFILE ) with platform $PLATFORM ..."
4747
You can’t perform that action at this time.
0 commit comments