From 11ecbf9a2ccbd4a6cdbc98da3ed4116bb38ab904 Mon Sep 17 00:00:00 2001 From: Konstantin Baierer Date: Tue, 30 Jan 2024 18:39:45 +0100 Subject: [PATCH] ci/docker: cluster login to ghcr.io and docker.io --- .github/workflows/docker-image.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 06b7202248..f9067965d6 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -39,15 +39,15 @@ jobs: registry: ghcr.io username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - - name: Push images to Github Container Registry - run: | - docker push ${{ env.GHCRIO_DOCKER_TAG }}:latest - docker push ${{ env.GHCRIO_DOCKER_TAG }}-cuda:latest - name: Log in to Docker Hub uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a with: username: ${{ env.DOCKERIO_USERNAME }} password: ${{ secrets.DOCKERIO_PASSWORD }} + - name: Push images to Github Container Registry + run: | + docker push ${{ env.GHCRIO_DOCKER_TAG }}:latest + docker push ${{ env.GHCRIO_DOCKER_TAG }}-cuda:latest - name: Push images to Docker Hub run: | docker tag ${{ env.GHCRIO_DOCKER_TAG }} ${{ env.DOCKERIO_DOCKER_TAG }}