Skip to content

Commit 0ae9ab4

Browse files
committed
Add auth for ghcr
1 parent 9913af2 commit 0ae9ab4

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/publish_to_npm.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,13 @@ jobs:
120120
check-latest: true
121121
cache: yarn
122122
architecture: x86
123+
- name: Log in to GitHub Container Registry
124+
if: ${{ matrix.settings.docker }}
125+
uses: docker/login-action@v3
126+
with:
127+
registry: ghcr.io
128+
username: ${{ github.actor }}
129+
password: ${{ secrets.GITHUB_TOKEN }}
123130
- name: Build in docker
124131
uses: addnab/docker-run-action@v3
125132
if: ${{ matrix.settings.docker }}

0 commit comments

Comments
 (0)