Skip to content

Commit fa2e023

Browse files
committed
Allow private package access
1 parent 0a7a192 commit fa2e023

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

‎.github/workflows/build-and-test.yml‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ on:
77
jobs:
88
features:
99
runs-on: ubuntu-latest
10+
permissions:
11+
contents: read
12+
packages: read
13+
id-token: read
1014
strategy:
1115
fail-fast: false
1216
matrix:
@@ -16,6 +20,12 @@ jobs:
1620
steps:
1721
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
1822
- run: bin/setup
23+
- name: Log in to ghcr
24+
uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f
25+
with:
26+
registry: ghcr.io
27+
username: ${{ github.actor }}
28+
password: ${{ secrets.GITHUB_TOKEN }}
1929
- name: Build a Dev Container for testing
2030
run: >-
2131
devcontainer build

0 commit comments

Comments
 (0)