From fc676581d67a93313ed22088ce9f5ba37f3091a6 Mon Sep 17 00:00:00 2001 From: David Boreham Date: Fri, 23 Feb 2024 13:04:57 -0700 Subject: [PATCH] Push images from builds --- .gitea/workflows/test-mobymask-v3-demo-arm.yml | 3 +++ .gitea/workflows/test-mobymask-v3-demo.yml | 3 +++ tests/mobymask-v3-demo/run-test.sh | 2 +- 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/test-mobymask-v3-demo-arm.yml b/.gitea/workflows/test-mobymask-v3-demo-arm.yml index 117c64ff..2f4531ae 100644 --- a/.gitea/workflows/test-mobymask-v3-demo-arm.yml +++ b/.gitea/workflows/test-mobymask-v3-demo-arm.yml @@ -37,5 +37,8 @@ jobs: run: ./scripts/create_build_tag_file.sh - name: "Build local shiv package" run: ./scripts/build_shiv_package.sh + - name: "Login to image registry" + run: | + echo ${{ secrets.CICD_PUBLISH_TOKEN }} | docker login https://git.vdb.to -u cerccicd --password-stdin - name: "Run mobymask v3 tests" run: ./tests/mobymask-v3-demo/run-test.sh diff --git a/.gitea/workflows/test-mobymask-v3-demo.yml b/.gitea/workflows/test-mobymask-v3-demo.yml index 64460cc6..eeedf9ff 100644 --- a/.gitea/workflows/test-mobymask-v3-demo.yml +++ b/.gitea/workflows/test-mobymask-v3-demo.yml @@ -37,5 +37,8 @@ jobs: run: ./scripts/create_build_tag_file.sh - name: "Build local shiv package" run: ./scripts/build_shiv_package.sh + - name: "Login to image registry" + run: | + echo ${{ secrets.CICD_PUBLISH_TOKEN }} | docker login https://git.vdb.to -u cerccicd --password-stdin - name: "Run mobymask v3 tests" run: ./tests/mobymask-v3-demo/run-test.sh diff --git a/tests/mobymask-v3-demo/run-test.sh b/tests/mobymask-v3-demo/run-test.sh index 4666811f..5bf675e6 100755 --- a/tests/mobymask-v3-demo/run-test.sh +++ b/tests/mobymask-v3-demo/run-test.sh @@ -22,4 +22,4 @@ mkdir -p $CERC_REPO_BASE_DIR # Test bringing the test container up and down # with and without volume removal $TEST_TARGET_SO --stack ${stack} setup-repositories -$TEST_TARGET_SO --stack ${stack} build-containers +$TEST_TARGET_SO --stack ${stack} build-containers --publish-images --image-registry git.vdb.to/cerc-io