Skip to content

Commit

Permalink
remove additional ubi config (#7104)
Browse files Browse the repository at this point in the history
  • Loading branch information
pdabelf5 authored and AlexFenlon committed Jan 15, 2025
1 parent 38aad08 commit e014492
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 24 deletions.
12 changes: 6 additions & 6 deletions .github/scripts/copy-images.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,12 @@ TARGET_NAP_WAFV5_IMAGE_PREFIX=${TARGET_NAP_WAFV5_IMAGE_PREFIX:-"nginx-ic-nap-v5/
TARGET_NAP_DOS_IMAGE_PREFIX=${TARGET_NAP_DOS_IMAGE_PREFIX:-"nginx-ic-dos/nginx-plus-ingress"}
TARGET_NAP_WAF_DOS_IMAGE_PREFIX=${TARGET_NAP_WAF_DOS_IMAGE_PREFIX:-"nginx-ic-dos-nap/nginx-plus-ingress"}

declare -a OSS_TAG_POSTFIX_LIST=("" "-ubi" "-alpine")
declare -a PLUS_TAG_POSTFIX_LIST=("" "-ubi" "-alpine" "-alpine-fips")
declare -a NAP_WAF_TAG_POSTFIX_LIST=("" "-ubi" "-alpine-fips")
declare -a NAP_WAFV5_TAG_POSTFIX_LIST=("" "-ubi" "-alpine-fips")
declare -a NAP_DOS_TAG_POSTFIX_LIST=("" "-ubi")
declare -a NAP_WAF_DOS_TAG_POSTFIX_LIST=("" "-ubi")
declare -a OSS_TAG_POSTFIX_LIST=("" "-alpine")
declare -a PLUS_TAG_POSTFIX_LIST=("" "-alpine" "-alpine-fips")
declare -a NAP_WAF_TAG_POSTFIX_LIST=("" "-alpine-fips")
declare -a NAP_WAFV5_TAG_POSTFIX_LIST=("" "-alpine-fips")
declare -a NAP_DOS_TAG_POSTFIX_LIST=("")
declare -a NAP_WAF_DOS_TAG_POSTFIX_LIST=("")

CONFIG_PATH=${CONFIG_PATH:-~/.nic-release/config}
if [ -f "$CONFIG_PATH" ]; then
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -294,14 +294,14 @@ jobs:
with:
ref: ${{ inputs.release_branch }}

- name: Certify UBI OSS images in quay
uses: ./.github/actions/certify-openshift-image
continue-on-error: true
with:
image: quay.io/nginx/nginx-ingress:${{ inputs.nic_version }}-ubi
project_id: ${{ secrets.CERTIFICATION_PROJECT_ID }}
pyxis_token: ${{ secrets.PYXIS_API_TOKEN }}
preflight_version: 1.11.1
# - name: Certify UBI OSS images in quay
# uses: ./.github/actions/certify-openshift-image
# continue-on-error: true
# with:
# image: quay.io/nginx/nginx-ingress:${{ inputs.nic_version }}-ubi
# project_id: ${{ secrets.CERTIFICATION_PROJECT_ID }}
# pyxis_token: ${{ secrets.PYXIS_API_TOKEN }}
# preflight_version: 1.11.1

operator:
if: ${{ ! cancelled() && ! failure() && ! inputs.dry_run && ! contains(inputs.skip_step, 'operator') && !contains(inputs.skip_step, 'publish-helm-chart') }}
Expand Down Expand Up @@ -621,7 +621,7 @@ jobs:
strategy:
fail-fast: false
matrix:
image: ["nginx/nginx-ingress:${{ inputs.nic_version }}", "nginx/nginx-ingress:${{ inputs.nic_version }}-ubi", "nginx/nginx-ingress:${{ inputs.nic_version }}-alpine"]
image: ["nginx/nginx-ingress:${{ inputs.nic_version }}", "nginx/nginx-ingress:${{ inputs.nic_version }}-alpine"]
steps:
- name: Checkout Repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/update-docker-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -177,12 +177,12 @@ jobs:
- name: Checkout Repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

- name: Certify UBI OSS images in quay
uses: ./.github/actions/certify-openshift-image
with:
image: quay.io/nginx/nginx-ingress:${{ needs.variables.outputs.tag }}-ubi
project_id: ${{ secrets.CERTIFICATION_PROJECT_ID }}
pyxis_token: ${{ secrets.PYXIS_API_TOKEN }}
platforms: ""
preflight_version: 1.11.1
submit: ${{ ! inputs.dry_run || true }}
# - name: Certify UBI OSS images in quay
# uses: ./.github/actions/certify-openshift-image
# with:
# image: quay.io/nginx/nginx-ingress:${{ needs.variables.outputs.tag }}-ubi
# project_id: ${{ secrets.CERTIFICATION_PROJECT_ID }}
# pyxis_token: ${{ secrets.PYXIS_API_TOKEN }}
# platforms: ""
# preflight_version: 1.11.1
# submit: ${{ ! inputs.dry_run || true }}

0 comments on commit e014492

Please sign in to comment.