Skip to content

Commit

Permalink
fix image name to lowercase
Browse files Browse the repository at this point in the history
  • Loading branch information
sarathchandra24 committed Mar 3, 2024
1 parent 6312669 commit e0c4f47
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-op-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand All @@ -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
Expand Down

0 comments on commit e0c4f47

Please sign in to comment.