diff options
| author | Jakub Beránek <berykubik@gmail.com> | 2024-01-21 14:26:20 +0100 |
|---|---|---|
| committer | Jakub Beránek <berykubik@gmail.com> | 2024-01-22 10:25:13 +0100 |
| commit | da5ab5ecd3abca81939f194e76c09b8c8c6dd527 (patch) | |
| tree | ca4b34f4e407d9cafcdb849e8af8e8d32717e63c /src/ci/github-actions | |
| parent | cb25c5bc3d526a8fb931314cb3a7849115134b04 (diff) | |
Cache CI Docker images in ghcr registry
Diffstat (limited to 'src/ci/github-actions')
| -rw-r--r-- | src/ci/github-actions/ci.yml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ci/github-actions/ci.yml b/src/ci/github-actions/ci.yml index 68a3afc910f..ceee4690004 100644 --- a/src/ci/github-actions/ci.yml +++ b/src/ci/github-actions/ci.yml @@ -34,6 +34,7 @@ x--expand-yaml-anchors--remove: CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse # commit of PR sha or commit sha. `GITHUB_SHA` is not accurate for PRs. HEAD_SHA: ${{ github.event.pull_request.head.sha || github.sha }} + DOCKER_TOKEN: ${{ secrets.GITHUB_TOKEN }} - &public-variables SCCACHE_BUCKET: rust-lang-ci-sccache2 @@ -301,6 +302,7 @@ on: permissions: contents: read + packages: write defaults: run: |
