Skip to content

Commit

Permalink
gwc - fix workflow file
Browse files Browse the repository at this point in the history
  • Loading branch information
fvanderbiest committed Feb 14, 2020
1 parent 757c98d commit b3c0ebf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/geowebcache.yml
Expand Up @@ -3,11 +3,11 @@ on:
push:
paths:
- "commons/**"
- "geowebcache/**"
- "geowebcache-webapp/**"
pull_request:
paths:
- "commons/**"
- "geowebcache/**"
- "geowebcache-webapp/**"
release:
types: [published]

Expand All @@ -34,15 +34,15 @@ jobs:
run: ./mvnw --no-transfer-progress -B -P-all,geowebcache -Dfmt.action=validate install -Dadditionalparam=-Xdoclint:none -DskipTests

- name: "Running tests"
working-directory: geowebcache/
working-directory: geowebcache-webapp/
run: ../mvnw --no-transfer-progress clean verify -Pit -Dfmt.skip=true -Dadditionalparam=-Xdoclint:none

- name: Getting image tag
id: version
run: echo ::set-output name=VERSION::$(echo $GITHUB_REF | cut -d / -f 3)

- name: "Building docker image"
working-directory: geowebcache/
working-directory: geowebcache-webapp/
run: ../mvnw --no-transfer-progress clean package docker:build -Pdocker -DdockerImageName=georchestra/geowebcache:${{ steps.version.outputs.VERSION }} -DskipTests

- name: "Logging in docker.io"
Expand Down

0 comments on commit b3c0ebf

Please sign in to comment.