File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88 name : Docker
99 runs-on : ubuntu-latest
1010
11+ permissions :
12+ contents : read
13+ packages : write
14+
1115 strategy :
1216 fail-fast : false
1317 matrix :
1721 - docworker-lambda
1822
1923 env :
20- PUBLIC_IMAGE_PREFIX : ' datastewardshipwizard '
24+ PUBLIC_IMAGE_PREFIX : ' ghcr.io/ds-wizard '
2125 IMAGE_BASE_NAME : ' python-base'
2226 DOCKER_META_CONTEXT : ' .'
2327 DOCKER_META_FILE : ' ./${{ matrix.tag }}/Dockerfile'
@@ -63,13 +67,14 @@ jobs:
6367 cache-from : type=gha
6468 cache-to : type=gha,mode=max
6569
66- # PUBLIC: DOCKER HUB
70+ # PUBLIC: GITHUB CONTAINER REGISTRY
6771 - name : Docker login [public]
6872 if : github.event_name != 'pull_request'
6973 uses : docker/login-action@v4
7074 with :
71- username : ${{ secrets.DOCKER_HUB_USERNAME }}
72- password : ${{ secrets.DOCKER_HUB_PASSWORD }}
75+ registry : ghcr.io
76+ username : ${{ github.actor }}
77+ password : ${{ secrets.GITHUB_TOKEN }}
7378
7479 - name : Docker meta [public]
7580 id : meta-public
You can’t perform that action at this time.
0 commit comments