File tree Expand file tree Collapse file tree 1 file changed +2
-22
lines changed
Expand file tree Collapse file tree 1 file changed +2
-22
lines changed Original file line number Diff line number Diff 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+
You can’t perform that action at this time.
0 commit comments