File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 GCS_BUCKET : autobuilds.grr-response.com
55 GCS_BUCKET_OPENAPI : autobuilds-grr-openapi
66 GCS_LATEST_PATH : _latest_server_deb
7- DOCKER_REPOSITORY : grrdocker /grr
7+ DOCKER_REPOSITORY : ghcr.io/google /grr
88jobs :
99
1010 test-ubuntu :
@@ -259,13 +259,14 @@ jobs:
259259 export BRANCH=$(echo $GITHUB_REF | cut -d'/' -f 3)
260260 ./appveyor/docker_build/build_docker_image.sh
261261 - if : ${{ github.event_name == 'push' }}
262- name : Log in to Docker Hub
262+ name : Login to GitHub Container registry
263263 uses : docker/login-action@v2
264264 with :
265- username : ${{ secrets.DOCKER_USERNAME }}
266- password : ${{ secrets.DOCKER_PASSWORD }}
265+ registry : ghcr.io
266+ username : ${{ github.actor }}
267+ password : ${{ secrets.GITHUB_TOKEN }}
267268 - if : ${{ github.event_name == 'push' }}
268- name : Push to ${{ env.DOCKER_REPOSITORY }}
269+ name : Push to GitHub Container registry
269270 run : |
270271 docker push -a ${{ env.DOCKER_REPOSITORY }}
271272 upload :
You can’t perform that action at this time.
0 commit comments