From 2edf2ca58db27238d4383199cbd5648e8df3a5b0 Mon Sep 17 00:00:00 2001 From: Emma Ai Date: Tue, 28 Nov 2023 04:13:19 +0000 Subject: [PATCH] pull test container image from ghcr --- .github/workflows/main.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d455879a..fe998a8e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -16,6 +16,10 @@ on: types: - completed +permissions: + contents: read + packages: read + jobs: build-wheels: if: | @@ -61,7 +65,10 @@ jobs: test-wheels: runs-on: ubuntu-latest container: - image: opendatacube/datacube-statistician:latest + image: ghcr.io/${{ github.repository }}:latest + credentials: + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} services: postgres: