Skip to content

Commit b20bac5

Browse files
authored
Update build_and_publish.yml
1 parent 13d5ff9 commit b20bac5

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
@@ -61,6 +61,9 @@ jobs:
6161
packages: read
6262

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

@@ -105,6 +108,9 @@ jobs:
105108
packages: read
106109

107110
steps:
111+
- name: Log in to the Container registry
112+
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ${{ env.REGISTRY }} -u ${{ github.actor }} --password-stdin
113+
108114
- name: Pull new version
109115
run: docker pull ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
110116

0 commit comments

Comments
 (0)