Skip to content

Commit 24fb740

Browse files
authored
Try fix ghcr deploy with separate login step
1 parent bef3858 commit 24fb740

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

Diff for: .github/workflows/CI.yml

+6-2
Original file line numberDiff line numberDiff line change
@@ -189,12 +189,16 @@ jobs:
189189
password: ${{ secrets.DOCKER_PASSWORD }}
190190
repository: devosoft/empirical
191191
tag_with_ref: true
192+
- name: Log in to GitHub Container Registry
193+
uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1
194+
with:
195+
registry: ghcr.io
196+
username: ${{ github.actor }}
197+
password: ${{ secrets.GITHUB_TOKEN }}
192198
- name: Push to ghcr.io
193199
uses: docker/build-push-action@v1
194200
with:
195201
context: .
196202
push: true
197-
username: ${{ github.actor }}
198-
password: ${{ secrets.GITHUB_TOKEN }}
199203
repository: ghcr.io/devosoft/empirical
200204
tag_with_ref: true

0 commit comments

Comments
 (0)