From 2a7ded7ea1a8e51d5333e526e7bfa5420b2d8105 Mon Sep 17 00:00:00 2001 From: Rajpal Chauhan Date: Thu, 29 Feb 2024 19:06:20 -0800 Subject: [PATCH] test Signed-off-by: Rajpal Chauhan --- .github/workflows/main.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 459e24eb..3fa59025 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -190,9 +190,16 @@ jobs: path_context: ${{ matrix.SOURCE_CONTEXT_DIR}} builder_image: "${{ matrix.SOURCE_IMAGE_REGISTRY }}${{ matrix.SOURCE_IMAGE_NAME }}:${{ matrix.SOURCE_IMAGE_TAG }}" image: ${{ matrix.service }} - tags: ${{ steps.extract.outputs.tags }} + tags: ${{ steps.extract.outputs.tags }} # labels would have to be added to the image after the S2I build + - name: Apply Labels to Database Image + id: apply_labels + if: contains(fromJSON('["aries-endorser-db"]'), matrix.service) + run: | + docker tag ${{ matrix.SOURCE_IMAGE_REGISTRY }}${{ matrix.SOURCE_IMAGE_NAME }}:${{ matrix.SOURCE_IMAGE_TAG }} ${{ matrix.service }}:${{ steps.extract.outputs.tags }} + docker push ${{ matrix.SOURCE_IMAGE_REGISTRY }}${{ matrix.SOURCE_IMAGE_NAME }}:${{ matrix.SOURCE_IMAGE_TAG }} + - name: Push database image id: push if: contains(fromJSON('["aries-endorser-db"]'), matrix.service)