diff --git a/.github/workflows/e2e-gha.yml b/.github/workflows/e2e-gha.yml index 29d3f157..fe44b238 100644 --- a/.github/workflows/e2e-gha.yml +++ b/.github/workflows/e2e-gha.yml @@ -27,7 +27,7 @@ jobs: run: ciux ignite $PWD - name: Build fink-broker image for k8s run: | - ./build.sh --suffix "${{ env.SUFFIX }}" --tmp-registry "${{ env.CI_REPO }}" + ./build.sh -s "${{ env.SUFFIX }}" -r "${{ env.CI_REPO }}" - name: Export fink-broker image run: | $(ciux get image --check $PWD --suffix "${{ env.SUFFIX }}" --env) diff --git a/build.sh b/build.sh index bbf2f79a..4e48e9ee 100755 --- a/build.sh +++ b/build.sh @@ -42,9 +42,10 @@ suffix="" tmp_registry="" # get the options -while getopts hs: c ; do +while getopts hr:s: c ; do case $c in h) usage ; exit 0 ;; + r) tmp_registry=$OPTARG ;; s) suffix=$OPTARG ;; \?) usage ; exit 2 ;; esac