diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index fee7b55449..8a6149726b 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -73,6 +73,7 @@ jobs: asset_name: wiremock-standalone-${{ steps.vars.outputs.version }}.jar asset_content_type: application/java-archive docker: + needs: [build] uses: ./.github/workflows/docker-release.yml with: version: ${{ needs.build.outputs.version }} diff --git a/.github/workflows/docker-release.yml b/.github/workflows/docker-release.yml index 1b6ef5f00d..14f4fafa35 100644 --- a/.github/workflows/docker-release.yml +++ b/.github/workflows/docker-release.yml @@ -71,5 +71,5 @@ jobs: timeout 10 bash -c 'while ! curl --fail http://localhost:8080/__admin/webapp/files; do sleep 1; done' docker container rm -f test -# - name: Push wiremock-gui image to Docker HUB -# run: docker buildx build ${{ matrix.versions.CONTEXT }} --tag ${{ join(matrix.versions.IMAGES, ' --tag ') }} --build-arg WIREMOCK_VERSION=${{ inputs.version }} --platform ${{ matrix.versions.PLATFORMS }} --push + - name: Push wiremock-gui image to Docker HUB + run: docker buildx build ${{ matrix.versions.CONTEXT }} --tag ${{ join(matrix.versions.IMAGES, ' --tag ') }} --build-arg WIREMOCK_VERSION=${{ inputs.version }} --platform ${{ matrix.versions.PLATFORMS }} --push