Skip to content

Commit 77d9918

Browse files
authored
fix deploy (#128)
1 parent 8f5f1db commit 77d9918

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
@@ -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

@@ -110,6 +113,9 @@ jobs:
110113
packages: read
111114

112115
steps:
116+
- name: Log in to the Container registry
117+
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ${{ env.REGISTRY }} -u ${{ github.actor }} --password-stdin
118+
113119
- name: Pull new version
114120
run: docker pull ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
115121

0 commit comments

Comments
 (0)