We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7d5cca0 commit c79007dCopy full SHA for c79007d
.github/workflows/docker-publish.yml
@@ -15,6 +15,7 @@ on:
15
16
env:
17
IMAGE_NAME: helm-yaml
18
+ REGISTRY: ghcr.io
19
20
jobs:
21
# Run tests.
@@ -52,7 +53,7 @@ jobs:
52
53
- name: Prepare Docker Metadata
54
id: meta
55
run: |
- IMAGE_ID=ghcr.io/${{ github.repository_owner }}/$IMAGE_NAME
56
+ IMAGE_ID=${{ env.REGISTRY }}/${{ github.repository_owner }}/$IMAGE_NAME
57
58
# Change all uppercase to lowercase
59
IMAGE_ID=$(echo $IMAGE_ID | tr '[A-Z]' '[a-z]')
@@ -72,7 +73,7 @@ jobs:
72
73
- name: Log into registry ${{ env.REGISTRY }}
74
uses: docker/login-action@v1
75
with:
- registry: ghcr.io
76
+ registry: ${{ env.REGISTRY }}
77
username: ${{ github.repository_owner }}
78
password: ${{ secrets.GITHUB_TOKEN }}
79
0 commit comments