We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b10ef8 commit bcca140Copy full SHA for bcca140
.github/workflows/puppeteer-container.yml
@@ -9,8 +9,17 @@ jobs:
9
10
build:
11
runs-on: ubuntu-latest
12
+
13
+ permissions:
14
+ contents: read
15
+ packages: write
16
+ attestations: write
17
+ id-token: write
18
19
env:
20
+ REGISTRY: ghcr.io
21
IMAGE_NAME: puppeteer
22
23
steps:
24
- name: Workaround Windows mess and set git to keep original line endings
25
run: git config --global core.autocrlf false
@@ -34,7 +43,7 @@ jobs:
34
43
35
44
- name: Login in to registry
36
45
if: success()
37
- run: echo "${{ secrets.GITHUB_TOKEN }}" | podman login ghcr.io -u ${{ github.actor }} --password-stdin
46
+ run: echo "${{ secrets.GITHUB_TOKEN }}" | podman login ${{ env.REGISTRY }} -u ${{ github.actor }} --password-stdin
38
47
39
48
- name: Push container image
40
49
0 commit comments