Skip to content

Commit f29c29d

Browse files
authored
v3.1.3 (#77)
Build updates * Adding GitHub packages
1 parent 9ea1755 commit f29c29d

File tree

3 files changed

+21
-1
lines changed

3 files changed

+21
-1
lines changed

.github/workflows/dev.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,13 @@ jobs:
4141
with:
4242
username: ${{ secrets.DOCKERHUB_USERNAME }}
4343
password: ${{ secrets.DOCKERHUB_TOKEN }}
44+
-
45+
name: Login to GitHub Container Registry
46+
uses: docker/login-action@v1
47+
with:
48+
registry: ghcr.io
49+
username: ${{ github.repository_owner }}
50+
password: ${{ secrets.GITHUB_TOKEN }}
4451
-
4552
name: Build and push
4653
id: docker_build
@@ -54,6 +61,8 @@ jobs:
5461
tags: |
5562
bfren/nginx-proxy:dev
5663
bfren/nginx-proxy:${{ steps.version.outputs.contents }}-beta
64+
ghcr.io/bfren/nginx-proxy:dev
65+
ghcr.io/bfren/nginx-proxy:${{ steps.version.outputs.contents }}-beta
5766
-
5867
name: Image digest
5968
run: echo ${{ steps.docker_build.outputs.digest }}

.github/workflows/publish.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,13 @@ jobs:
4646
with:
4747
username: ${{ secrets.DOCKERHUB_USERNAME }}
4848
password: ${{ secrets.DOCKERHUB_TOKEN }}
49+
-
50+
name: Login to GitHub Container Registry
51+
uses: docker/login-action@v1
52+
with:
53+
registry: ghcr.io
54+
username: ${{ github.repository_owner }}
55+
password: ${{ secrets.GITHUB_TOKEN }}
4956
-
5057
name: Build and push
5158
id: docker_build
@@ -61,6 +68,10 @@ jobs:
6168
bfren/nginx-proxy:${{ steps.version_major.outputs.contents }}
6269
bfren/nginx-proxy:${{ steps.version_minor.outputs.contents }}
6370
bfren/nginx-proxy:${{ steps.version.outputs.contents }}
71+
ghcr.io/bfren/nginx-proxy:latest
72+
ghcr.io/bfren/nginx-proxy:${{ steps.version_major.outputs.contents }}
73+
ghcr.io/bfren/nginx-proxy:${{ steps.version_minor.outputs.contents }}
74+
ghcr.io/bfren/nginx-proxy:${{ steps.version.outputs.contents }}
6475
-
6576
name: Image digest
6677
run: echo ${{ steps.docker_build.outputs.digest }}

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.1.2
1+
3.1.3

0 commit comments

Comments
 (0)