From 5d3230646f5a1a954b6990a27d8e90f652750b0c Mon Sep 17 00:00:00 2001 From: Christopher Jones Date: Tue, 2 Jul 2024 07:58:07 +1000 Subject: [PATCH] Fix workflow review comment Signed-off-by: Christopher Jones --- .../workflows/build-and-push-instantclient-images.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-and-push-instantclient-images.yml b/.github/workflows/build-and-push-instantclient-images.yml index cb456e34d2..48bfeeea4c 100644 --- a/.github/workflows/build-and-push-instantclient-images.yml +++ b/.github/workflows/build-and-push-instantclient-images.yml @@ -88,7 +88,10 @@ jobs: do for i in ${{ steps.linux-version.outputs.ic }} do - if [[ ${o} = "oraclelinux9" && ${i} != "19" ]]; then + if [[ ${o} = "oraclelinux7" && ${i} = "23" ]]; then + continue + fi + if [[ ${o} = "oraclelinux9" && ${i} = "21" ]]; then continue fi docker build --tag ghcr.io/${{ steps.repo-owner.outputs.repo-owner }}/${o}-instantclient:${i} OracleInstantClient/${o}/${i} @@ -101,7 +104,10 @@ jobs: do for i in ${{ steps.linux-version.outputs.ic }} do - if [[ ${o} = 'oraclelinux9' && ${i} != '19' ]]; then + if [[ ${o} = "oraclelinux7" && ${i} = "23" ]]; then + continue + fi + if [[ ${o} = "oraclelinux9" && ${i} = "21" ]]; then continue fi docker push ghcr.io/${{ steps.repo-owner.outputs.repo-owner }}/${o}-instantclient:${i}