From 117ac8550c162702a8ce6cfdb8e637d5466de8f0 Mon Sep 17 00:00:00 2001 From: Lucas Lopes Date: Thu, 17 Aug 2023 17:41:28 -0300 Subject: [PATCH] Adding image check to pull request workflow and bumping scripts version --- .github/workflows/pull-request.yaml | 10 +++++++++- Makefile | 2 +- scripts/version | 2 +- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pull-request.yaml b/.github/workflows/pull-request.yaml index 201f7c6a93..195196f424 100755 --- a/.github/workflows/pull-request.yaml +++ b/.github/workflows/pull-request.yaml @@ -26,4 +26,12 @@ jobs: run: sudo make validate - name: Run Hull tests - run: cd tests && go test -v ./... \ No newline at end of file + run: cd tests && go test -v ./... + + - name: Check container images + run: make check-images + if: startsWith(github.ref, 'refs/heads/upstream/release-v') + continue-on-error: true + env: + DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }} + DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }} \ No newline at end of file diff --git a/Makefile b/Makefile index 8a8e329d90..30123f67f5 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ remove: forward-port: ./scripts/forward-port -TARGETS := prepare patch clean clean-cache charts list index unzip zip standardize validate template regsync +TARGETS := prepare patch clean clean-cache charts list index unzip zip standardize validate template regsync check-images $(TARGETS): @./scripts/pull-scripts diff --git a/scripts/version b/scripts/version index 0c78ce67c4..ddca2ec15e 100755 --- a/scripts/version +++ b/scripts/version @@ -2,4 +2,4 @@ set -e CHARTS_BUILD_SCRIPTS_REPO=https://github.com/rancher/charts-build-scripts.git -CHARTS_BUILD_SCRIPT_VERSION="${CHARTS_BUILD_SCRIPT_VERSION:-v0.4.4}" +CHARTS_BUILD_SCRIPT_VERSION="${CHARTS_BUILD_SCRIPT_VERSION:-v0.4.6}"