Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
Signed-off-by: Rajpal Chauhan <[email protected]>
  • Loading branch information
rajpalc7 committed Jan 17, 2024
1 parent 3c5d2db commit b0b1ec6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/actions/deploy/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,14 +69,14 @@ runs:
run: |
docker pull ${{ inputs.github_image_name }}@${{ inputs.image_digest }}
docker tag ${{ inputs.github_image_name }}@${{ inputs.image_digest }} ${{ inputs.github_image_name }}:${{ inputs.environment }}
docker push ${{ inputs.github_image_name }}/${{ matrix.service }}:${{ inputs.environment }}
docker push ${{ inputs.github_image_name }}${{ matrix.service }}:${{ inputs.environment }}
- name: Tag the image in the OpenShift container registry as ${{ inputs.environment }}
shell: bash
run: |
docker pull ${{ inputs.github_image_name }}@${{ inputs.image_digest }}
docker tag ${{ inputs.github_image_name }}@${{ inputs.image_digest }} ${{ inputs.openshift_image_name }}:${{ inputs.environment }}
docker push ${{ inputs.openshift_image_name}}/${{ matrix.service }}:${{ inputs.environment }}
docker push ${{ inputs.openshift_image_name}}${{ matrix.service }}:${{ inputs.environment }}
- name: Trigger OpenShift rollout
shell: bash
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,9 @@ jobs:
with:
environment: ${{ env.ENVIRONMENT }}
ghcr_token: ${{ secrets.GITHUB_TOKEN }}
github_image_name: ${{ env.GITHUB_IMAGE_REPO }}/${{ matrix.service }}
github_image_name: ${{ env.GITHUB_IMAGE_REPO }}${{ matrix.service }}
image_digest: ${{ needs.build.outputs.image_digest }}
openshift_image_name: ${{ env.OPENSHIFT_IMAGE_REPO }}/${{ matrix.service }}
openshift_image_name: ${{ env.OPENSHIFT_IMAGE_REPO }}${{ matrix.service }}
openshift_server_url: ${{ vars.OPENSHIFT_SERVER_URL }}
namespace: ${{ vars.NAMESPACE }}
deployment_configuration: ${{ matrix.service }}
Expand Down

0 comments on commit b0b1ec6

Please sign in to comment.