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 }}