Skip to content

Commit 4beda5b

Browse files
committed
Private GHCR
1 parent 9a6bdda commit 4beda5b

File tree

2 files changed

+3
-17
lines changed

2 files changed

+3
-17
lines changed

.github/workflows/build-publish-dispatch.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
uses: docker/metadata-action@v5
3939
with:
4040
images: |
41-
nginxproxy/nginx-proxy
41+
ghcr.io/SchoNie/nginx-proxy
4242
tags: |
4343
type=raw,value=${{ inputs.image_tag }},enable=${{ matrix.base == 'debian' }}
4444
type=raw,value=${{ inputs.image_tag }},suffix=-alpine,enable=${{ matrix.base == 'alpine' }}
@@ -53,13 +53,7 @@ jobs:
5353

5454
- name: Set up Docker Buildx
5555
uses: docker/setup-buildx-action@v3
56-
57-
- name: Login to DockerHub
58-
uses: docker/login-action@v3
59-
with:
60-
username: ${{ secrets.DOCKERHUB_USERNAME }}
61-
password: ${{ secrets.DOCKERHUB_TOKEN }}
62-
56+
6357
- name: Log in to GitHub Container Registry
6458
uses: docker/login-action@v3
6559
with:

.github/workflows/build-publish.yml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,7 @@ jobs:
4949
uses: docker/metadata-action@v5
5050
with:
5151
images: |
52-
ghcr.io/nginx-proxy/nginx-proxy
53-
nginxproxy/nginx-proxy
54-
jwilder/nginx-proxy
52+
ghcr.io/SchoNie/nginx-proxy
5553
tags: |
5654
type=semver,pattern={{version}},enable=${{ matrix.base == 'debian' }}
5755
type=semver,pattern={{major}}.{{minor}},enable=${{ matrix.base == 'debian' }}
@@ -71,12 +69,6 @@ jobs:
7169
- name: Set up Docker Buildx
7270
uses: docker/setup-buildx-action@v3
7371

74-
- name: Login to DockerHub
75-
uses: docker/login-action@v3
76-
with:
77-
username: ${{ secrets.DOCKERHUB_USERNAME }}
78-
password: ${{ secrets.DOCKERHUB_TOKEN }}
79-
8072
- name: Log in to GitHub Container Registry
8173
uses: docker/login-action@v3
8274
with:

0 commit comments

Comments
 (0)