Skip to content

Commit 50fcd86

Browse files
authored
Update workflows (#341)
1 parent c05aaa9 commit 50fcd86

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/main_commit.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,8 @@ jobs:
107107
permissions:
108108
packages: read
109109
steps:
110+
- name: Log in to the Container registry
111+
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ${{ env.REGISTRY }} -u ${{ github.actor }} --password-stdin
110112
- name: Run docker container
111113
run: |
112114
docker pull ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:test

.github/workflows/main_release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,8 @@ jobs:
102102
permissions:
103103
packages: read
104104
steps:
105+
- name: Log in to the Container registry
106+
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ${{ env.REGISTRY }} -u ${{ github.actor }} --password-stdin
105107
- name: Run docker container
106108
run: |
107109
docker pull ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:preprod
@@ -140,6 +142,8 @@ jobs:
140142
permissions:
141143
packages: read
142144
steps:
145+
- name: Log in to the Container registry
146+
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ${{ env.REGISTRY }} -u ${{ github.actor }} --password-stdin
143147
- name: Run docker container
144148
run: |
145149
docker pull ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:prod

0 commit comments

Comments
 (0)