diff --git a/.github/workflows/release_docker_img.yml b/.github/workflows/release_docker_img.yml index 18287af..bee968a 100644 --- a/.github/workflows/release_docker_img.yml +++ b/.github/workflows/release_docker_img.yml @@ -28,7 +28,12 @@ jobs: with: token: ${{ secrets.ULTIMAKER_CI_PAT }} submodules: recursive - + + - name: Login in GitHub Container Registry + id: ghcr_login + run: | + echo "${{ secrets.ULTIMAKER_CI_PAT }}" | docker login ghcr.io -u $ --password-stdin + - name: Build Docker Image id: build run: | @@ -42,11 +47,6 @@ jobs: ./build_for_ultimaker.sh -a docker_build docker images - - name: Login in GitHub Container Registry - id: ghcr_login - run: | - echo "${{ secrets.ULTIMAKER_CI_PAT }}" | docker login ghcr.io -u $ --password-stdin - - name: Release Docker Image to Github Packages id: release run: |