diff --git a/.github/workflows/github-release.yml b/.github/workflows/github-release.yml index c4dd4001beb..cedac1f8481 100644 --- a/.github/workflows/github-release.yml +++ b/.github/workflows/github-release.yml @@ -247,10 +247,14 @@ jobs: run: | scripts/generate_info_json.sh + # As pg docker image is continuously updated for each scheduled cron on release, we are using the nightly tag while building the latest tag - name: Place server artifacts-es run: | if [[ -f scripts/prepare_server_artifacts.sh ]]; then - scripts/prepare_server_artifacts.sh + PG_TAG=nightly scripts/prepare_server_artifacts.sh + else + echo "No script found to prepare server artifacts" + exit 1 fi - name: Login to DockerHub diff --git a/.github/workflows/test-build-docker-image.yml b/.github/workflows/test-build-docker-image.yml index f14c565e210..e3c21798e6a 100644 --- a/.github/workflows/test-build-docker-image.yml +++ b/.github/workflows/test-build-docker-image.yml @@ -356,8 +356,12 @@ jobs: - name: Place server artifacts-es run: | + run: | if [[ -f scripts/prepare_server_artifacts.sh ]]; then scripts/prepare_server_artifacts.sh + else + echo "No script found to prepare server artifacts" + exit 1 fi - name: Set up Depot CLI @@ -439,6 +443,9 @@ jobs: run: | if [[ -f scripts/prepare_server_artifacts.sh ]]; then scripts/prepare_server_artifacts.sh + else + echo "No script found to prepare server artifacts" + exit 1 fi - name: Set up Depot CLI