From 052818d04ed980ec8ef59291e4bc58aab18f380c Mon Sep 17 00:00:00 2001 From: samrose Date: Fri, 8 Mar 2024 11:59:47 -0500 Subject: [PATCH] fix: docker registry invocation --- .github/workflows/docker.yml | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 4d2743b..179071c 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -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: @@ -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