From 9cecba2e64a890451718df37d63532eb3767c3ae Mon Sep 17 00:00:00 2001 From: Axel Uhl Date: Mon, 13 May 2024 22:38:20 +0200 Subject: [PATCH] login to ghcr.io, too, using github.actor and secret.GITHUB_TOKEN --- .github/workflows/play-with-docker.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/play-with-docker.yml b/.github/workflows/play-with-docker.yml index 69fff9785b5..f9a89f5a89b 100644 --- a/.github/workflows/play-with-docker.yml +++ b/.github/workflows/play-with-docker.yml @@ -19,9 +19,12 @@ jobs: registry: docker.sapsailing.com username: ${{ secrets.DOCKER_SAPSAILING_COM_USERNAME }} password: ${{ secrets.DOCKER_SAPSAILING_COM_PASSWORD }} -# registry: ghcr.io -# #username: ${{ secrets.DOCKER_GHCR_IO_USERNAME }} -# #password: ${{ secrets.DOCKER_GHCR_IO_PASSWORD }} + - name: Login to ghcr.io to upload sailing-analytics image + uses: docker/login-action@v3 + with: + registry: ghcr.io + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} - name: Copy a few files shell: bash run: |