diff --git a/.github/workflows/release-2.x.yml b/.github/workflows/release-2.x.yml index 9072475..9dda79b 100644 --- a/.github/workflows/release-2.x.yml +++ b/.github/workflows/release-2.x.yml @@ -115,7 +115,7 @@ jobs: # Replace version in Dockerfiles LAST_VERSION=${LAST_VERSION%-*} - sed -i 's/ARG WIREMOCK_VERSION=.*/ARG WIREMOCK_VERSION=${ github.event.inputs.bundled-version }/g' Dockerfile alpine/Dockerfile + sed -i 's/ARG WIREMOCK_VERSION=.*/ARG WIREMOCK_VERSION=${{ github.event.inputs.bundled-version }}/g' Dockerfile alpine/Dockerfile # Push update git config --local user.name "wiremockbot" diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7c929d4..86bd674 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -95,7 +95,7 @@ jobs: push: true tags: ${{ join(matrix.versions.IMAGES, ',') }} build-args: | - WIREMOCK_VERSION=${{ github.event.inputs.bundled-version }} + "WIREMOCK_VERSION=${{ github.event.inputs.bundled-version }}" release: runs-on: ubuntu-latest @@ -119,7 +119,7 @@ jobs: # Replace version in Dockerfiles LAST_VERSION=${LAST_VERSION%-*} - sed -i 's/ARG WIREMOCK_VERSION=.*/ARG WIREMOCK_VERSION=${ github.event.inputs.bundled-version }/g' Dockerfile alpine/Dockerfile + sed -i 's/ARG WIREMOCK_VERSION=.*/ARG WIREMOCK_VERSION=${{ github.event.inputs.bundled-version }}/g' Dockerfile alpine/Dockerfile # Push update git config --local user.name "wiremockbot" diff --git a/Dockerfile b/Dockerfile index 06fe44b..afdbe50 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ FROM eclipse-temurin:11.0.20_8-jre LABEL maintainer="Rodolphe CHAIGNEAU " -ARG WIREMOCK_VERSION=${ github.event.inputs.bundled-version } +ARG WIREMOCK_VERSION=3.1.0 ENV WIREMOCK_VERSION $WIREMOCK_VERSION ENV GOSU_VERSION 1.14 diff --git a/alpine/Dockerfile b/alpine/Dockerfile index 385635d..88bb5b3 100644 --- a/alpine/Dockerfile +++ b/alpine/Dockerfile @@ -2,7 +2,7 @@ FROM eclipse-temurin:11.0.20_8-jre-alpine LABEL maintainer="Rodolphe CHAIGNEAU " -ARG WIREMOCK_VERSION=${ github.event.inputs.bundled-version } +ARG WIREMOCK_VERSION=3.1.0 ENV WIREMOCK_VERSION $WIREMOCK_VERSION WORKDIR /home/wiremock