You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
or Alternatively we can also use the [docker/login-action](https://github.com/docker/login-action) to to the login:
140
+
141
+
```yaml
142
+
- name: Login to GitHub Container Registry
143
+
uses: docker/login-action@v1
144
+
with:
145
+
registry: ghcr.io
146
+
username: ${{ github.actor }}
147
+
password: ${{ secrets.GITHUB_TOKEN }}
148
+
```
149
+
150
+
139
151
#### Publish (Push) Container image to GHCR
140
152
141
153
The final step now is to push our container image to the GitHub Container Registry. Therefore we need to tag our image correctly while building it using `ghcr.io/OWNER/IMAGE_NAME:latest`. After that we can push it:
0 commit comments