Skip to content

Commit 930b95b

Browse files
authored
Log in to GHCR before pushing
1 parent 10fe18a commit 930b95b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,12 @@ jobs:
7676
name: Push Docker image to GitHub Container Registry
7777
runs-on: ubuntu-latest
7878
steps:
79+
- name: Login to GitHub Container Registry
80+
uses: docker/login-action@v1
81+
with:
82+
registry: ghcr.io
83+
username: ${{ github.actor }}
84+
password: ${{ secrets.GITHUB_TOKEN }}
7985
- name: Docker meta
8086
id: meta
8187
uses: docker/metadata-action@v3

0 commit comments

Comments
 (0)