From f244c5a9823c45c47bcd5c9da90b294b2b4d4b23 Mon Sep 17 00:00:00 2001 From: Guillaume Husta Date: Fri, 10 Nov 2023 21:11:55 +0100 Subject: [PATCH] Update to FakeSMTP 2.4.0 Requires Java 17 minimum --- .github/workflows/docker-publish-on-tag.yml | 38 --------------------- Dockerfile | 2 +- 2 files changed, 1 insertion(+), 39 deletions(-) diff --git a/.github/workflows/docker-publish-on-tag.yml b/.github/workflows/docker-publish-on-tag.yml index 8a85463..f889d61 100644 --- a/.github/workflows/docker-publish-on-tag.yml +++ b/.github/workflows/docker-publish-on-tag.yml @@ -105,41 +105,6 @@ jobs: cache-from: type=gha cache-to: type=gha,mode=max - - name: Extract Docker metadata / suffix jre11 - id: meta-jre11 - uses: docker/metadata-action@v5 - env: - TAG_SUFFIX: '-jre11' - with: - images: ${{ env.IMAGE_NAME }} - flavor: | - latest=false - suffix=${{ env.TAG_SUFFIX }} - tags: | - # semver-only tags - type=semver,pattern={{version}} - type=semver,pattern={{major}}.{{minor}} - - # Build and push Docker image with Buildx - # https://github.com/docker/build-push-action - - name: Build and push Docker images (multi-architecture) / jre11 - id: build-and-push-jre11 - uses: docker/build-push-action@v5 - with: - context: . - build-args: | - JAVA_IMAGE_TAG=11-jre - platforms: | - linux/amd64 - linux/arm64/v8 - linux/arm/v7 - push: true - provenance: false - tags: ${{ steps.meta-jre11.outputs.tags }} - labels: ${{ steps.meta-jre11.outputs.labels }} - cache-from: type=gha - cache-to: type=gha,mode=max - create-github-release: needs: [ docker-publish ] runs-on: ubuntu-latest @@ -173,8 +138,5 @@ jobs: ```shell docker pull ${{ env.IMAGE_NAME }}:${{ github.ref_name }}-jre17 ``` - ```shell - docker pull ${{ env.IMAGE_NAME }}:${{ github.ref_name }}-jre11 - ``` draft: false prerelease: false diff --git a/Dockerfile b/Dockerfile index 6b8f0ef..5f31f32 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ ARG JAVA_IMAGE_TAG=11-jre FROM eclipse-temurin:$JAVA_IMAGE_TAG -ARG APP_VERSION=2.3.4 +ARG APP_VERSION=2.4.0 RUN set -ex; \ wget -q https://github.com/ghusta/FakeSMTP/releases/download/v${APP_VERSION}/fakeSMTP-${APP_VERSION}.jar -O fakeSMTP.jar; \ mv fakeSMTP.jar /opt;