Skip to content

Commit 3877519

Browse files
committed
Add login to gchr
1 parent 728f01f commit 3877519

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ jobs:
2222
# - name: Build image
2323
# uses: docker/build-push-actions@v6
2424

25-
# - name: Log in to GHCR
26-
# if: ${{ github.event_name == 'push' && github.ref_type == 'tag' }}
27-
# uses: docker/login-action@v3
28-
# with:
29-
# registry: ghcr.io/${{ github.repository_owner }}
30-
# username: ${{ github.actor }}
31-
# password: ${{ secrets.GITHUB_TOKEN }}
25+
- name: Log in to GHCR
26+
if: ${{ github.event_name == 'push' && github.ref_type == 'tag' }}
27+
uses: docker/login-action@v3
28+
with:
29+
registry: ghcr.io/${{ github.repository_owner }}
30+
username: ${{ github.actor }}
31+
password: ${{ secrets.GITHUB_TOKEN }}
3232

3333
- name: Publish image
3434
uses: docker/build-push-action@v6

0 commit comments

Comments
 (0)