Skip to content

Commit

Permalink
Fix check RHEL subscription
Browse files Browse the repository at this point in the history
  • Loading branch information
RazvanLiviuVarzaru committed Aug 29, 2024
1 parent 9a3e8c4 commit 6640807
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/bbw_build_container_rhel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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' }}
Expand All @@ -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: |
Expand Down Expand Up @@ -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 }}
docker://quay.io/mariadb-foundation/${{ env.REPO }}:${{ env.IMG }}

0 comments on commit 6640807

Please sign in to comment.