Skip to content

Commit a163bfd

Browse files
committed
fix: add permission to the build-base workflow
1 parent 51d618f commit a163bfd

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.github/workflows/build-base.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ on:
1515
- 'runtime/**'
1616
- 'task/handler.sh'
1717

18+
permissions:
19+
contents: read
20+
packages: write
21+
1822
concurrency:
1923
group: ${{ github.workflow }}-${{ github.ref }}
2024
cancel-in-progress: true
@@ -33,7 +37,7 @@ jobs:
3337
with:
3438
registry: ghcr.io
3539
username: ${{ github.actor }}
36-
password: ${{ secrets.GHCR_PAT }}
40+
password: ${{ secrets.GITHUB_TOKEN }}
3741

3842
- name: Build and push base
3943
run: |
@@ -45,4 +49,4 @@ jobs:
4549
--push \
4650
.
4751
env:
48-
GITHUB_TOKEN: ${{ secrets.GHCR_PAT }}
52+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ In a GitHub Actions environment, the build script is typically used in combinati
6262
To use this runtime in your own Lambda container image:
6363

6464
```Dockerfile
65-
FROM ghcr.io/ql4b/lambda-shell-runtime:tiny
65+
FROM public.ecr.aws/j5r7n1v7/lambda-shell-runtime:tiny
6666

6767
WORKDIR /var/task
6868

0 commit comments

Comments
 (0)