From f1d70eb7c04dbd054b4437a375d32bb0da7c09bd Mon Sep 17 00:00:00 2001 From: Shwetha Gururaj Date: Mon, 31 Mar 2025 12:21:01 -0400 Subject: [PATCH] Remove ubuntu:20.04 runner and v7 references --- .github/workflows/release-update-repos.yml | 24 ++-------------------- 1 file changed, 2 insertions(+), 22 deletions(-) diff --git a/.github/workflows/release-update-repos.yml b/.github/workflows/release-update-repos.yml index 6b8f3f83ee6..b6a05693426 100644 --- a/.github/workflows/release-update-repos.yml +++ b/.github/workflows/release-update-repos.yml @@ -310,7 +310,6 @@ jobs: image: - debian:11 - debian:12 - - ubuntu:20.04 - ubuntu:22.04 - ubuntu runs-on: ubuntu-latest @@ -633,31 +632,12 @@ jobs: docker run -v $(pwd):/clidir -w /clidir \ --rm ${{ env.VERSION_BUILD }} sh test.sh - # If bash reaches this point, it means that tests passed, setting latest - if [[ ( ${{ github.ref_name }} == "v8" ) ]]; then - echo "LATEST_DOCKER=v8" >> "$GITHUB_ENV" - fi - - if [[ ( ${{ github.ref_name }} == "v7" ) ]]; then - echo "LATEST_DOCKER=v7" >> "$GITHUB_ENV" - fi - rm test.sh - - name: Push image if its from v8 - if: ${{ env.LATEST_DOCKER }} == v8 + - name: Push image uses: docker/build-push-action@v6 with: context: docker push: true tags: cloudfoundry/cli:${{ env.VERSION_BUILD }}, cloudfoundry/cli:latest - - - name: Push image if its from v7 - if: ${{ env.LATEST_DOCKER }} == v7 - uses: docker/build-push-action@v6 - with: - context: docker - push: true - tags: cloudfoundry/cli:${{ env.VERSION_BUILD }} - -# vim: set sw=2 ts=2 sts=2 et tw=78 foldlevel=2 fdm=indent nospell: + \ No newline at end of file