From e0c4f473c9c5cf66dccc1100b4fd816d1e43e5ff Mon Sep 17 00:00:00 2001 From: Sarath Chandra Oruganti <39090092+SarathChandra24@users.noreply.github.com> Date: Sun, 3 Mar 2024 09:44:02 -0500 Subject: [PATCH] fix image name to lowercase --- .github/workflows/build-op-image.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-op-image.yaml b/.github/workflows/build-op-image.yaml index 3be2ca957..551120e54 100644 --- a/.github/workflows/build-op-image.yaml +++ b/.github/workflows/build-op-image.yaml @@ -36,7 +36,7 @@ jobs: name: Build Image for Fluent Operator outputs: IMG_VERSION: ${{ steps.image-metadata.outputs.version }} - IMG_NAME: ${{ env.GITHUB_IMAGE }} + IMG_NAME: ${{ steps.image-metadata.outputs.tags }}[0] OPERATOR_DOCKER_IMG: "${{ env.REGISTRY_REPO }}/${{ env.DOCKER_IMAGE }}" steps: @@ -87,7 +87,7 @@ jobs: - operator-build uses: ./.github/workflows/call-scan-images.yaml with: - source_image: "${{ needs.operator-build.outputs.IMG_NAME }}:${{ needs.operator-build.outputs.IMG_VERSION }}" + source_image: "${{ needs.operator-build.outputs.IMG_NAME }}" source_registry: ghcr.io platforms: '["linux/arm64", "linux/amd64"]' secrets: @@ -102,7 +102,7 @@ jobs: - operator-build - scan-operator-image with: - source_image: "${{ needs.operator-build.outputs.IMG_NAME }}:${{ needs.operator-build.outputs.IMG_VERSION }}" + source_image: "${{ needs.operator-build.outputs.IMG_NAME }}" source_registry: ghcr.io target_image: ${{ needs.operator-build.outputs.OPERATOR_DOCKER_IMG }} target_registry: docker.io