File tree Expand file tree Collapse file tree 1 file changed +0
-22
lines changed Expand file tree Collapse file tree 1 file changed +0
-22
lines changed Original file line number Diff line number Diff line change 8787 registry : ${{ env.imageregistry }}/${{ env.imagenamespace }}
8888 username : ${{ secrets.QUAY_USERNAME }}
8989 password : ${{ secrets.QUAY_PASSWORD }}
90- digestfile : digest.txt
91-
92- # tag the quay.io image with the digest so it is preserved
93- - name : Set OPERATOR_INDEX_IMAGE_DIGEST for Operator and tag
94- shell : bash
95- run : |
96- DIGEST=$(cat digest.txt | sed -e 's|sha256:||')
97- echo "OPERATOR_INDEX_IMAGE_DIGEST=$DIGEST" >> $GITHUB_ENV
98- podman tag "${REGISTRY}/${IMAGE}:${GITHUB_SHA}" "${REGISTRY}/${IMAGE}:${DIGEST}"
99- env :
100- REGISTRY : ${{ env.imageregistry }}/${{ env.imagenamespace }}
101- IMAGE : openstack-operator-index-upgrade
102- GITHUB_SHA : ${{ github.sha }}
103-
104- - name : Push tag with digest ${{ env.OPERATOR_INDEX_IMAGE_DIGEST }}
105- uses : redhat-actions/push-to-registry@v2
106- with :
107- image : openstack-operator-index-upgrade
108- tags : ${{ env.OPERATOR_INDEX_IMAGE_DIGEST }}
109- registry : ${{ env.imageregistry }}/${{ env.imagenamespace }}
110- username : ${{ secrets.QUAY_USERNAME }}
111- password : ${{ secrets.QUAY_PASSWORD }}
You can’t perform that action at this time.
0 commit comments