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:
310
310
image :
311
311
- debian:11
312
312
- debian:12
313
- - ubuntu:20.04
314
313
- ubuntu:22.04
315
314
- ubuntu
316
315
runs-on : ubuntu-latest
@@ -633,31 +632,12 @@ jobs:
633
632
docker run -v $(pwd):/clidir -w /clidir \
634
633
--rm ${{ env.VERSION_BUILD }} sh test.sh
635
634
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
-
645
635
rm test.sh
646
636
647
- - name : Push image if its from v8
648
- if : ${{ env.LATEST_DOCKER }} == v8
637
+ - name : Push image
649
638
uses : docker/build-push-action@v6
650
639
with :
651
640
context : docker
652
641
push : true
653
642
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