Skip to content

Commit

Permalink
Manual publishing of Red Hat Bundle Image (OpenShift fault) (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel Pscheidl authored Feb 9, 2021
1 parent 05225d7 commit 0dace4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release-operator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ jobs:
docker build -t ${{ secrets.OPERATOR_BUNDLE_RED_HAT_SCAN_TAG_PREFIX }}${{ env.OPERATOR_NAME }}-bundle:${{steps.current-ver.outputs.version}} -f operator/docker/Dockerfile-operator-bundle . --no-cache
BUNDLE_DIGEST=$(docker push ${{ secrets.OPERATOR_BUNDLE_RED_HAT_SCAN_TAG_PREFIX }}${{ env.OPERATOR_NAME }}-bundle:${{ steps.current-ver.outputs.version }} | sed -n 's/.*\(sha256:[a-zA-Z0-9]*\).*$/\1/p')
echo $BUNDLE_DIGEST
python operator/release/red_hat_docker_certification.py --api_key ${{ secrets.RED_HAT_CONNECT_API_KEY }} --pid ${{ secrets.OPERATOR_BUNDLE_RED_HAT_PID }} --tag ${{ steps.current-ver.outputs.version }} $BUNDLE_DIGEST
echo "H2O Operator Bundle uploaded. Red Hat doesn't support automated publishing of bundle images yet - publish manually !"
docker logout
# Docker Hub contains the same operator binary as OpenShift repository
Expand Down

0 comments on commit 0dace4e

Please sign in to comment.