We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 945b52b commit ff68336Copy full SHA for ff68336
.github/workflows/docker-publish.yml
@@ -16,8 +16,8 @@ on:
16
branches: [ "main" ]
17
18
env:
19
- # Use docker.io for Docker Hub if empty
20
REGISTRY: docker.io
+ GHCR_REGISTRY: ghcr.io
21
# github.repository as <account>/<repo>
22
IMAGE_NAME: ${{ github.repository }}
23
@@ -51,7 +51,7 @@ jobs:
51
if: github.event_name != 'pull_request'
52
uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a
53
with:
54
- registry: ghcr.io
+ registry: ${{ env.GHCR_REGISTRY }}
55
username: ${{ github.actor }}
56
password: ${{ secrets.GITHUB_TOKEN }}
57
0 commit comments