Skip to content

Commit 29a688f

Browse files
authored
Update build_and_publish.yml
1 parent c70d833 commit 29a688f

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/build_and_publish.yml

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

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

@@ -129,6 +132,9 @@ jobs:
129132
packages: read
130133

131134
steps:
135+
- name: Log in to the Container registry
136+
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ${{ env.REGISTRY }} -u ${{ github.actor }} --password-stdin
137+
132138
- name: Pull new version
133139
run: docker pull ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
134140

0 commit comments

Comments
 (0)