Skip to content

Commit 675c0ea

Browse files
committed
ci: add GHCR authentication for ledger integration tests
1 parent 6c92ac2 commit 675c0ea

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,7 @@ jobs:
212212
runs-on: ubuntu-latest
213213
permissions:
214214
contents: read
215+
packages: read
215216
timeout-minutes: 10
216217
env:
217218
CARGO_INCREMENTAL: 0
@@ -247,6 +248,13 @@ jobs:
247248
shared-key: management-ubuntu-latest-x86_64-unknown-linux-gnu
248249
save-if: false
249250

251+
- name: Log in to GitHub Container Registry
252+
uses: step-security/docker-login-action@c3e677aae8393bc9c81cfdf9709648720ea4bd4d # v3.6.0
253+
with:
254+
registry: ghcr.io
255+
username: ${{ github.actor }}
256+
password: ${{ secrets.GITHUB_TOKEN }}
257+
250258
- name: Start Ledger server
251259
working-directory: docker/ledger-integration-tests
252260
run: |

0 commit comments

Comments
 (0)