From f895f8fa51924e7cd5537b59dcb3a7e038e84733 Mon Sep 17 00:00:00 2001 From: MohammedAbdi Date: Thu, 18 Apr 2024 14:49:09 -0400 Subject: [PATCH] test Signed-off-by: MohammedAbdi --- .github/publish-images/action.yaml | 7 ++++++- .github/workflows/publish-images.yaml | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/publish-images/action.yaml b/.github/publish-images/action.yaml index 6e68b34..b0325e2 100644 --- a/.github/publish-images/action.yaml +++ b/.github/publish-images/action.yaml @@ -43,8 +43,13 @@ runs: - name: Build Operator and image and then push shell: bash run: | + echo VERSION=$VERSION + echo IMAGE_TAG_BASE=$IMAGE_TAG_BASE + echo "version=$VERSION" >> $GITHUB_OUTPUT + echo "IMAGE_TAG_BASE=$IMAGE_TAG_BASE" >> $GITHUB_OUTPUT make operator-build && make operator-push env: VERSION: ${{ inputs.version }} - OPERATOR_IMG: ${{ format('{0}', inputs.image_url) }} + IMAGE_TAG_BASE: ${{ inputs.image_registry }} + # OPERATOR_IMG: ${{ format('{0}', inputs.image_url) }} ADDITIONAL_TAGS: ${{ inputs.additional_tags }} diff --git a/.github/workflows/publish-images.yaml b/.github/workflows/publish-images.yaml index 3485b8e..e2d2b1e 100644 --- a/.github/workflows/publish-images.yaml +++ b/.github/workflows/publish-images.yaml @@ -34,5 +34,5 @@ jobs: image_registry: ${{ vars.REGISTRY }} registry_login: ${{ secrets.QUAY_BOT_NAME }} registry_token: ${{ secrets.QUAY_BOT_TOKEN }} - version: 0.0.5 + version: ${{ steps.version.outputs.version }} additional_tags: ${{ steps.additional_tags.outputs.result }}