From aff7a55d0b4297df539916675248167460216e42 Mon Sep 17 00:00:00 2001 From: matthias Date: Wed, 12 Jun 2024 19:02:59 +0200 Subject: [PATCH] updated workflow --- .github/workflows/build_containers.yaml | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build_containers.yaml b/.github/workflows/build_containers.yaml index 7dcc514..71a1a6b 100644 --- a/.github/workflows/build_containers.yaml +++ b/.github/workflows/build_containers.yaml @@ -34,10 +34,15 @@ jobs: id: build-base run: | make base + docker save -o base.tar cybertec-pg-container/base:$BASEOS-$BUILD - - name: printout Images - run: | - docker images + - name: Upload Containers + uses: actions/upload-artifact@v2 + with: + name: docker-images + path: | + base.tar + @@ -55,6 +60,14 @@ jobs: needs: build steps: + - name: Download Containers + uses: actions/download-artifact@v2 + with: + name: docker-images + + - name: Load base image + run: docker load -i base.tar + - name: Tag and push container1 run: | docker tag cybertec-pg-container/base:$BASEOS-$BUILD $IMAGEPRAEFIX/base:$BASEOS-$BUILD-$TYPE