Skip to content

Commit

Permalink
When releasing a new docker image, do the github login first
Browse files Browse the repository at this point in the history
  • Loading branch information
alexborro committed Apr 3, 2024
1 parent 6a97afb commit 1bbff76
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/release_docker_img.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -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: |
Expand Down

0 comments on commit 1bbff76

Please sign in to comment.