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

Commit

Permalink
fix: docker registry invocation
Browse files Browse the repository at this point in the history
  • Loading branch information
samrose committed Mar 8, 2024
1 parent 29c4b74 commit 052818d
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,6 @@ jobs:
nix build .#psql_15/docker -o result-docker-15
nix build .#psql_16/docker -o result-docker-16
nix build .#psql_orioledb_16/docker -o result-docker-orioledb-16
- name: Tag images
run: |
set -x
for x in 15 16 orioledb-16; do
docker load -i result-docker-$x
docker tag postgresql-$x:latest ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-$x:${GITHUB_SHA}
docker tag postgresql-$x:latest ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-$x:latest
done
- name: Log in to the Container registry
uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a # v2.1.0
with:
Expand All @@ -48,6 +40,5 @@ jobs:
run: |
set -x
for x in 15 16 orioledb-16; do
docker push ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-$x:${GITHUB_SHA}
docker push ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-$x:latest
nix build .#psql_$x/docker.copyToRegistry
done

0 comments on commit 052818d

Please sign in to comment.