From 4022ca935329530553dd5690d523c3e14efb6138 Mon Sep 17 00:00:00 2001 From: rjshrjndrn Date: Fri, 30 Dec 2022 12:31:25 +0100 Subject: [PATCH] fix(ci): push chalice images Signed-off-by: rjshrjndrn --- .github/workflows/api-ee.yaml | 5 ++++- .github/workflows/api.yaml | 7 +++++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/api-ee.yaml b/.github/workflows/api-ee.yaml index a6a3998cb..34997b348 100644 --- a/.github/workflows/api-ee.yaml +++ b/.github/workflows/api-ee.yaml @@ -67,7 +67,10 @@ jobs: } && { echo "Skipping Security Checks" } - docker push $DOCKER_REPO/$image:$IMAGE_TAG + images=("chalice" "alerts") + for image in ${images[*]};do + docker push $DOCKER_REPO/$image:$IMAGE_TAG + done - name: Creating old image input run: | # diff --git a/.github/workflows/api.yaml b/.github/workflows/api.yaml index e85775ed2..ec83c1c3c 100644 --- a/.github/workflows/api.yaml +++ b/.github/workflows/api.yaml @@ -66,7 +66,10 @@ jobs: } && { echo "Skipping Security Checks" } - docker push $DOCKER_REPO/$image:$IMAGE_TAG + images=("chalice" "alerts") + for image in ${images[*]};do + docker push $DOCKER_REPO/$image:$IMAGE_TAG + done - name: Creating old image input run: | # @@ -131,4 +134,4 @@ jobs: # DOCKER_REPO: ${{ secrets.OSS_REGISTRY_URL }} # IMAGE_TAG: ${{ github.sha }} # ENVIRONMENT: staging - # +