Skip to content

Commit

Permalink
Update halyard-oes.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
phanikumarp authored Dec 23, 2024
1 parent 60f4124 commit c84e92a
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/halyard-oes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ jobs:
id: build_variables
run: |
echo ::set-output name=REPO::ubi8-halyard-cve
echo ::set-output name=OCREPO::ubi8-halyard-cve-oc
#echo ::set-output name=VERSION::"1.65.0$(date --utc +'%Y%m%d%H%M')"
#echo ::set-output name=VERSION::"1.65.0$(date --utc +'%Y%m%d')"
#echo ::set-output name=VERSION::"1.65.0$(date --utc +'%-m%d')"
Expand Down Expand Up @@ -64,7 +65,7 @@ jobs:
tags: |
"${{ env.CONTAINER_REGISTRY }}/${{ steps.build_variables.outputs.REPO }}:${{ steps.build_variables.outputs.VERSION }}-${{ steps.build_variables.outputs.GITHASH }}-${{ steps.build_variables.outputs.BUILDDATE }}"
- id: get-build-oc-image
- id: get-build-image
run: |
imageName="${{ env.CONTAINER_REGISTRY }}/${{ steps.build_variables.outputs.REPO }}:${{ steps.build_variables.outputs.VERSION }}-${{ steps.build_variables.outputs.GITHASH }}-${{ steps.build_variables.outputs.BUILDDATE }}"
echo "Halyard=$imageName" >> $GITHUB_OUTPUT
Expand All @@ -75,9 +76,9 @@ jobs:
file: docker/ubi8/Docker-fips-redhat
push: true
tags: |
"${{ env.CONTAINER_REGISTRY }}/${{ steps.build_variables.outputs.REPO }}:${{ steps.build_variables.outputs.VERSION }}-${{ steps.build_variables.outputs.GITHASH }}-${{ steps.build_variables.outputs.BUILDDATE }}"
- id: get-build-IMAGE-NAME
"${{ env.CONTAINER_REGISTRY }}/${{ steps.build_variables.outputs.OCREPO }}:${{ steps.build_variables.outputs.VERSION }}-${{ steps.build_variables.outputs.GITHASH }}-${{ steps.build_variables.outputs.BUILDDATE }}"
- id: get-build-OC-IMAGE-NAME
run: |
imageNameoc="${{ env.CONTAINER_REGISTRY }}/${{ steps.build_variables.outputs.REPO }}:${{ steps.build_variables.outputs.VERSION }}-${{ steps.build_variables.outputs.GITHASH }}-${{ steps.build_variables.outputs.BUILDDATE }}-oc"
echo "Halyard-OC=$imageNameoc" >> $GITHUB_OUTPUT
imageName="${{ env.CONTAINER_REGISTRY }}/${{ steps.build_variables.outputs.REPO }}:${{ steps.build_variables.outputs.VERSION }}-${{ steps.build_variables.outputs.GITHASH }}-${{ steps.build_variables.outputs.BUILDDATE }}"
echo "Halyard-OC=$imageName" >> $GITHUB_OUTPUT

0 comments on commit c84e92a

Please sign in to comment.