Skip to content

Commit 00edd59

Browse files
authored
Update build_and_publish.yml
1 parent 9fc6f94 commit 00edd59

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/build_and_publish.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@ jobs:
6363
packages: read
6464

6565
steps:
66+
- name: Log in to the Container registry
67+
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ${{ env.REGISTRY }} -u ${{ github.actor }} --password-stdin
68+
6669
- name: Pull new version
6770
run: docker pull ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:test
6871

@@ -155,6 +158,9 @@ jobs:
155158
packages: read
156159

157160
steps:
161+
- name: Log in to the Container registry
162+
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ${{ env.REGISTRY }} -u ${{ github.actor }} --password-stdin
163+
158164
- name: Pull new version
159165
run: docker pull ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
160166

0 commit comments

Comments
 (0)