diff --git a/.github/workflows/bbw_build_container_rhel.yml b/.github/workflows/bbw_build_container_rhel.yml index dcdb9105..c62732a3 100644 --- a/.github/workflows/bbw_build_container_rhel.yml +++ b/.github/workflows/bbw_build_container_rhel.yml @@ -83,8 +83,12 @@ jobs: for i in "${missing[@]}"; do echo "Missing github secret: $i" done - (( ${#missing[@]} == 0 )) || exit 1 - echo "BUILD_RHEL=true" >> $GITHUB_ENV + + (( ${#missing[@]} == 0 )); then + echo "BUILD_RHEL=true" >> $GITHUB_ENV + else + echo "Not building RHEL" + fi - name: Generate Dockerfile and necessary files if: ${{ env.MAIN_BRANCH == 'false' }} @@ -95,7 +99,7 @@ jobs: sed -i -e '/ci.mariadb.org\/galera/d' -e '/WSREP_PROVIDER/d' -e '/galera-4/d' $GITHUB_WORKSPACE/Dockerfile fi cp -r qpress $GITHUB_WORKSPACE - + - name: Check Dockerfile with hadolint if: ${{ env.MAIN_BRANCH == 'false' }} run: | @@ -233,4 +237,4 @@ jobs: printf "\n${line}\n${msg}\n${line}\n" skopeo copy --all --src-tls-verify=0 \ docker://quay.io/mariadb-foundation/${{ env.REPO }}:dev_${{ env.IMG }} \ - docker://quay.io/mariadb-foundation/${{ env.REPO }}:${{ env.IMG }} \ No newline at end of file + docker://quay.io/mariadb-foundation/${{ env.REPO }}:${{ env.IMG }}