Skip to content

Commit bad57de

Browse files
committed
Update GitHub Actions for Docker & normal build to use GitHub Container Registry
1 parent 0d516bf commit bad57de

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ jobs:
3535
NODE_OPTIONS: '--max-old-space-size=4096'
3636
# Project name to use when running "docker compose" prior to e2e tests
3737
COMPOSE_PROJECT_NAME: 'ci'
38+
# Docker Registry to use for Docker compose scripts below.
39+
# We use GitHub's Container Registry to avoid aggressive rate limits at DockerHub.
40+
DOCKER_REGISTRY: ghcr.io
3841
strategy:
3942
# Create a matrix of Node versions to test against (in parallel)
4043
matrix:

.github/workflows/docker.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ on:
1717

1818
permissions:
1919
contents: read # to fetch code (actions/checkout)
20+
packages: write # to write images to GitHub Container Registry (GHCR)
2021

2122
jobs:
2223
#############################################################

0 commit comments

Comments
 (0)