Skip to content
This repository was archived by the owner on Apr 29, 2024. It is now read-only.

Commit df6da3b

Browse files
committed
feat: updating gh action for docker image build and push to registry
1 parent 1bc138d commit df6da3b

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/docker.yml

+5-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Docker
22

33
on:
44
push:
5-
branches: [ 'main' ]
5+
branches: [ 'main', 'sam/gh-docker-action' ]
66

77
env:
88
REGISTRY: ghcr.io
@@ -21,6 +21,8 @@ jobs:
2121
packages: write
2222
steps:
2323
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
24+
- uses: DeterminateSystems/nix-installer-action@main
25+
2426
with:
2527
fetch-depth: 0
2628

@@ -35,7 +37,7 @@ jobs:
3537
- name: Tag images
3638
run: |
3739
set -x
38-
for x in 14 15; do
40+
for x in 15 16 orioledb-16; do
3941
docker load -i result-docker-$x
4042
docker tag postgresql-$x:latest ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-$x:${GITHUB_SHA}
4143
docker tag postgresql-$x:latest ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-$x:latest
@@ -51,7 +53,7 @@ jobs:
5153
- name: Push image to the Container registry
5254
run: |
5355
set -x
54-
for x in 14 15; do
56+
for x in 15 16 orioledb-16; do
5557
docker push ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-$x:${GITHUB_SHA}
5658
docker push ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-$x:latest
5759
done

0 commit comments

Comments
 (0)