Skip to content

Commit

Permalink
Update to FakeSMTP 2.4.0
Browse files Browse the repository at this point in the history
Requires Java 17 minimum
  • Loading branch information
ghusta committed Nov 10, 2023
1 parent 57f0eaa commit f244c5a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 39 deletions.
38 changes: 0 additions & 38 deletions .github/workflows/docker-publish-on-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -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;
Expand Down

0 comments on commit f244c5a

Please sign in to comment.