Skip to content

Commit 21170cb

Browse files
authored
CLOUDP-363699: Dryrun preflight as well (#2989)
1 parent 02a2930 commit 21170cb

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

.github/actions/certify-openshift-images/entrypoint.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ set -eou pipefail
1818

1919
docker login -u mongodb+mongodb_atlas_kubernetes -p "${REGISTRY_PASSWORD}" "${REGISTRY}"
2020

21-
submit_flag=--submit
22-
if [ "${SUBMIT}" == "false" ]; then
23-
submit_flag=
21+
submit_flag=
22+
if [ "${SUBMIT}" == "true" ]; then
23+
submit_flag=--submit
2424
fi
2525

2626
echo "Check and Submit result to RedHat Connect"

.github/workflows/release-image.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,15 +213,14 @@ jobs:
213213

214214
- name: Certify Openshift images
215215
uses: ./.github/actions/certify-openshift-images
216-
if: github.event.inputs.release_type == 'official-release'
217216
with:
218217
registry: quay.io
219218
repository: ${{ needs.compute-repo.outputs.repo }}
220219
version: ${{ env.CERTIFIED_TAG }}
221220
registry_password: ${{ secrets.QUAY_PASSWORD }}
222221
rhcc_project: ${{ secrets.RH_CERTIFICATION_OSPID }}
223222
rhcc_token: ${{ secrets.RH_CERTIFICATION_PYXIS_API_TOKEN }}
224-
submit: true
223+
submit: ${{ github.event.inputs.release_type == 'official-release' }}
225224

226225
# Link updates to pr: all-in-one.yml, helm-updates, sdlc requirements
227226
- name: Generate deployment configurations

0 commit comments

Comments
 (0)