We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a163bfd commit 8c7f073Copy full SHA for 8c7f073
1 file changed
.github/workflows/build-base.yml
@@ -16,7 +16,9 @@ on:
16
- 'task/handler.sh'
17
18
permissions:
19
- contents: read
+ contents: write
20
+ issues: write
21
+ pull-requests: write
22
packages: write
23
24
concurrency:
@@ -37,16 +39,18 @@ jobs:
37
39
with:
38
40
registry: ghcr.io
41
username: ${{ github.actor }}
- password: ${{ secrets.GITHUB_TOKEN }}
42
+ password: ${{ secrets.GHCR_PAT }}
43
44
- name: Build and push base
45
run: |
46
+ echo "${{ secrets.GHCR_PAT }}" > github_token
47
docker buildx build \
48
--platform linux/arm64 \
49
--provenance=false \
50
+ --secret id=github_token,src=github_token \
51
--target base \
52
--tag ghcr.io/${{ github.repository_owner }}/lambda-shell-runtime:base \
53
--push \
54
.
55
env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
56
+ GITHUB_TOKEN: ${{ secrets.GHCR_PAT }}
0 commit comments