Skip to content

Commit 9c3a850

Browse files
authored
Remove ubuntu:20.04 runner and v7 references (#3479)
1 parent aa682f3 commit 9c3a850

File tree

1 file changed

+2
-22
lines changed

1 file changed

+2
-22
lines changed

.github/workflows/release-update-repos.yml

Lines changed: 2 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,6 @@ jobs:
310310
image:
311311
- debian:11
312312
- debian:12
313-
- ubuntu:20.04
314313
- ubuntu:22.04
315314
- ubuntu
316315
runs-on: ubuntu-latest
@@ -633,31 +632,12 @@ jobs:
633632
docker run -v $(pwd):/clidir -w /clidir \
634633
--rm ${{ env.VERSION_BUILD }} sh test.sh
635634
636-
# If bash reaches this point, it means that tests passed, setting latest
637-
if [[ ( ${{ github.ref_name }} == "v8" ) ]]; then
638-
echo "LATEST_DOCKER=v8" >> "$GITHUB_ENV"
639-
fi
640-
641-
if [[ ( ${{ github.ref_name }} == "v7" ) ]]; then
642-
echo "LATEST_DOCKER=v7" >> "$GITHUB_ENV"
643-
fi
644-
645635
rm test.sh
646636
647-
- name: Push image if its from v8
648-
if: ${{ env.LATEST_DOCKER }} == v8
637+
- name: Push image
649638
uses: docker/build-push-action@v6
650639
with:
651640
context: docker
652641
push: true
653642
tags: cloudfoundry/cli:${{ env.VERSION_BUILD }}, cloudfoundry/cli:latest
654-
655-
- name: Push image if its from v7
656-
if: ${{ env.LATEST_DOCKER }} == v7
657-
uses: docker/build-push-action@v6
658-
with:
659-
context: docker
660-
push: true
661-
tags: cloudfoundry/cli:${{ env.VERSION_BUILD }}
662-
663-
# vim: set sw=2 ts=2 sts=2 et tw=78 foldlevel=2 fdm=indent nospell:
643+

0 commit comments

Comments
 (0)