Skip to content

Commit 6efa082

Browse files
authored
v2.0.11 (#30)
Build updates * Adding GitHub packages
1 parent 28c8c81 commit 6efa082

File tree

7 files changed

+67
-23
lines changed

7 files changed

+67
-23
lines changed

.github/workflows/dev-12.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
@@ -56,6 +63,8 @@ jobs:
5663
tags: |
5764
bfren/postgresql:postgresql12-dev
5865
bfren/postgresql:postgresql12-${{ steps.version.outputs.contents }}-beta
66+
ghcr.io/bfren/postgresql:postgresql12-dev
67+
ghcr.io/bfren/postgresql:postgresql12-${{ steps.version.outputs.contents }}-beta
5968
-
6069
name: Image digest
6170
run: echo ${{ steps.docker_build.outputs.digest }}

.github/workflows/dev-13.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
@@ -56,6 +63,8 @@ jobs:
5663
tags: |
5764
bfren/postgresql:postgresql13-dev
5865
bfren/postgresql:postgresql13-${{ steps.version.outputs.contents }}-beta
66+
ghcr.io/bfren/postgresql:postgresql13-dev
67+
ghcr.io/bfren/postgresql:postgresql13-${{ steps.version.outputs.contents }}-beta
5968
-
6069
name: Image digest
6170
run: echo ${{ steps.docker_build.outputs.digest }}

.github/workflows/dev-14.yml

Lines changed: 9 additions & 1 deletion
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,9 +61,10 @@ jobs:
5461
push: ${{ startsWith(github.ref, 'refs/heads/') }}
5562
platforms: linux/amd64,linux/arm/v7,linux/arm64
5663
tags: |
57-
bfren/postgresql:edge
5864
bfren/postgresql:postgresql14-dev
5965
bfren/postgresql:postgresql14-${{ steps.version.outputs.contents }}-beta
66+
ghcr.io/bfren/postgresql:postgresql14-dev
67+
ghcr.io/bfren/postgresql:postgresql14-${{ steps.version.outputs.contents }}-beta
6068
-
6169
name: Image digest
6270
run: echo ${{ steps.docker_build.outputs.digest }}

.github/workflows/publish-12.yml

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,6 @@ jobs:
2222
with:
2323
file: ./12/POSTGRESQL_MINOR
2424
id: postgresql_minor
25-
-
26-
name: Read PostgreSQL version - build
27-
uses: bfren/read-file@v1
28-
with:
29-
file: ./12/POSTGRESQL_BUILD
30-
id: postgresql_build
3125
-
3226
name: Read image version
3327
uses: bfren/read-file@v1
@@ -58,6 +52,13 @@ jobs:
5852
with:
5953
username: ${{ secrets.DOCKERHUB_USERNAME }}
6054
password: ${{ secrets.DOCKERHUB_TOKEN }}
55+
-
56+
name: Login to GitHub Container Registry
57+
uses: docker/login-action@v1
58+
with:
59+
registry: ghcr.io
60+
username: ${{ github.repository_owner }}
61+
password: ${{ secrets.GITHUB_TOKEN }}
6162
-
6263
name: Build and push
6364
id: docker_build
@@ -77,7 +78,12 @@ jobs:
7778
bfren/postgresql:postgresql12-${{ steps.version.outputs.contents }}
7879
bfren/postgresql:postgresql${{ steps.postgresql_minor.outputs.contents }}
7980
bfren/postgresql:postgresql${{ steps.postgresql_minor.outputs.contents }}-${{ steps.version.outputs.contents }}
80-
bfren/postgresql:postgresql${{ steps.postgresql_build.outputs.contents }}
81+
ghcr.io/bfren/postgresql:postgresql12
82+
ghcr.io/bfren/postgresql:postgresql12-${{ steps.version_major.outputs.contents }}
83+
ghcr.io/bfren/postgresql:postgresql12-${{ steps.version_minor.outputs.contents }}
84+
ghcr.io/bfren/postgresql:postgresql12-${{ steps.version.outputs.contents }}
85+
ghcr.io/bfren/postgresql:postgresql${{ steps.postgresql_minor.outputs.contents }}
86+
ghcr.io/bfren/postgresql:postgresql${{ steps.postgresql_minor.outputs.contents }}-${{ steps.version.outputs.contents }}
8187
-
8288
name: Image digest
8389
run: echo ${{ steps.docker_build.outputs.digest }}

.github/workflows/publish-13.yml

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,6 @@ jobs:
2222
with:
2323
file: ./13/POSTGRESQL_MINOR
2424
id: postgresql_minor
25-
-
26-
name: Read PostgreSQL version - build
27-
uses: bfren/read-file@v1
28-
with:
29-
file: ./13/POSTGRESQL_BUILD
30-
id: postgresql_build
3125
-
3226
name: Read image version
3327
uses: bfren/read-file@v1
@@ -58,6 +52,13 @@ jobs:
5852
with:
5953
username: ${{ secrets.DOCKERHUB_USERNAME }}
6054
password: ${{ secrets.DOCKERHUB_TOKEN }}
55+
-
56+
name: Login to GitHub Container Registry
57+
uses: docker/login-action@v1
58+
with:
59+
registry: ghcr.io
60+
username: ${{ github.repository_owner }}
61+
password: ${{ secrets.GITHUB_TOKEN }}
6162
-
6263
name: Build and push
6364
id: docker_build
@@ -77,7 +78,12 @@ jobs:
7778
bfren/postgresql:postgresql13-${{ steps.version.outputs.contents }}
7879
bfren/postgresql:postgresql${{ steps.postgresql_minor.outputs.contents }}
7980
bfren/postgresql:postgresql${{ steps.postgresql_minor.outputs.contents }}-${{ steps.version.outputs.contents }}
80-
bfren/postgresql:postgresql${{ steps.postgresql_build.outputs.contents }}
81+
ghcr.io/bfren/postgresql:postgresql13
82+
ghcr.io/bfren/postgresql:postgresql13-${{ steps.version_major.outputs.contents }}
83+
ghcr.io/bfren/postgresql:postgresql13-${{ steps.version_minor.outputs.contents }}
84+
ghcr.io/bfren/postgresql:postgresql13-${{ steps.version.outputs.contents }}
85+
ghcr.io/bfren/postgresql:postgresql${{ steps.postgresql_minor.outputs.contents }}
86+
ghcr.io/bfren/postgresql:postgresql${{ steps.postgresql_minor.outputs.contents }}-${{ steps.version.outputs.contents }}
8187
-
8288
name: Image digest
8389
run: echo ${{ steps.docker_build.outputs.digest }}

.github/workflows/publish-14.yml

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,6 @@ jobs:
2222
with:
2323
file: ./14/POSTGRESQL_MINOR
2424
id: postgresql_minor
25-
-
26-
name: Read PostgreSQL version - build
27-
uses: bfren/read-file@v1
28-
with:
29-
file: ./14/POSTGRESQL_BUILD
30-
id: postgresql_build
3125
-
3226
name: Read image version
3327
uses: bfren/read-file@v1
@@ -58,6 +52,13 @@ jobs:
5852
with:
5953
username: ${{ secrets.DOCKERHUB_USERNAME }}
6054
password: ${{ secrets.DOCKERHUB_TOKEN }}
55+
-
56+
name: Login to GitHub Container Registry
57+
uses: docker/login-action@v1
58+
with:
59+
registry: ghcr.io
60+
username: ${{ github.repository_owner }}
61+
password: ${{ secrets.GITHUB_TOKEN }}
6162
-
6263
name: Build and push
6364
id: docker_build
@@ -77,7 +78,12 @@ jobs:
7778
bfren/postgresql:postgresql14-${{ steps.version.outputs.contents }}
7879
bfren/postgresql:postgresql${{ steps.postgresql_minor.outputs.contents }}
7980
bfren/postgresql:postgresql${{ steps.postgresql_minor.outputs.contents }}-${{ steps.version.outputs.contents }}
80-
bfren/postgresql:postgresql${{ steps.postgresql_build.outputs.contents }}
81+
ghcr.io/bfren/postgresql:postgresql14
82+
ghcr.io/bfren/postgresql:postgresql14-${{ steps.version_major.outputs.contents }}
83+
ghcr.io/bfren/postgresql:postgresql14-${{ steps.version_minor.outputs.contents }}
84+
ghcr.io/bfren/postgresql:postgresql14-${{ steps.version.outputs.contents }}
85+
ghcr.io/bfren/postgresql:postgresql${{ steps.postgresql_minor.outputs.contents }}
86+
ghcr.io/bfren/postgresql:postgresql${{ steps.postgresql_minor.outputs.contents }}-${{ steps.version.outputs.contents }}
8187
-
8288
name: Image digest
8389
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-
2.0.10
1+
2.0.11

0 commit comments

Comments
 (0)