Skip to content

Commit 328bebe

Browse files
authored
ci: publish Docker images to ghcr.io
1 parent 7c86871 commit 328bebe

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/dockerhub.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ jobs:
3636
uses: docker/metadata-action@v3
3737
with:
3838
images: |
39+
ghcr.io/nginx-proxy/acme-companion
3940
nginxproxy/acme-companion
4041
jrcs/letsencrypt-nginx-proxy-companion
4142
tags: |
@@ -58,6 +59,13 @@ jobs:
5859
username: ${{ secrets.DOCKERHUB_USERNAME }}
5960
password: ${{ secrets.DOCKERHUB_TOKEN }}
6061

62+
- name: Log in to GitHub Container Registry
63+
uses: docker/login-action@v1
64+
with:
65+
registry: ghcr.io
66+
username: ${{ github.actor }}
67+
password: ${{ secrets.GITHUB_TOKEN }}
68+
6169
- name: Build and push
6270
id: docker_build
6371
uses: docker/build-push-action@v2

0 commit comments

Comments
 (0)