Skip to content

Commit

Permalink
Set fail-fast false
Browse files Browse the repository at this point in the history
  • Loading branch information
mrauhala committed Mar 5, 2024
1 parent 74ae445 commit c2b914a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ jobs:
build:
strategy:
max-parallel: 2
fail-fast: false
matrix:
version: [ 2.24, 2.23, 2.22, 2.21, 2.20, 2.19, 2.18, 2.17, 2.16, 2.15 ]

Expand All @@ -27,13 +28,13 @@ jobs:
run: docker build ${{ matrix.version }} --tag meteofi/geoserver:${{ matrix.version }} --tag meteofi/geoserver:$(grep -Po '(?<=GEOSERVER_VERSION\=\")\d.\d+.\d+' ${{ matrix.version }}/Dockerfile)

- if: ${{ matrix.version == '2.24' }}
name: docker tag
name: docker tag latest stable
run: |
docker tag meteofi/geoserver:${{ matrix.version }} meteofi/geoserver:latest
docker tag meteofi/geoserver:${{ matrix.version }} meteofi/geoserver:stable
- if: ${{ matrix.version == '2.23' }}
name: docker tag
name: docker tag maintenance
run: docker tag meteofi/geoserver:${{ matrix.version }} meteofi/geoserver:maintenance

- name: docker test ${{ matrix.version }}
Expand All @@ -44,5 +45,6 @@ jobs:
docker logs geoserver${{ matrix.version }}
curl -f "http://localhost:8080/geoserver/wms?request=getCapabilities&service=WMS" || exit 1
docker stop geoserver${{ matrix.version }}
- name: docker push ${{ matrix.version }}
run: docker push --all-tags meteofi/geoserver

0 comments on commit c2b914a

Please sign in to comment.