8000 feat: Add Docker image based on Java 25 by ghusta · Pull Request #24 · ghusta/docker-fakesmtp · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

feat: Add Docker image based on Java 25 #24

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions .github/workflows/docker-publish-on-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ jobs:

# Extract metadata (tags, labels) for Docker
# https://github.com/marketplace/actions/docker-metadata-action
- name: Extract Docker metadata / suffix jre24
id: meta-jre24
- name: Extract Docker metadata / suffix jre25
id: meta-jre25
uses: docker/metadata-action@v5
env:
TAG_SUFFIX: '-jre24'
TAG_SUFFIX: '-jre25'
IS_LATEST: 'true' # Set to 'false' if this should not be latest
with:
images: ${{ env.IMAGE_NAME }}
Expand All @@ -54,20 +54,20 @@ jobs:

# Build and push Docker image with Buildx
# https://github.com/docker/build-push-action
- name: Build and push Docker images (multi-architecture) / jre24
id: build-and-push-jre24
- name: Build and push Docker images (multi-architecture) / jre25
id: build-and-push-jre25
uses: docker/build-push-action@v6
with:
context: .
build-args: |
JAVA_IMAGE_TAG=24-jre
JAVA_IMAGE_TAG=25-jre
platforms: |
linux/amd64
linux/arm64/v8
push: true
provenance: false
tags: ${{ steps.meta-jre24.outputs.tags }}
labels: ${{ steps.meta-jre24.outputs.labels }}
tags: ${{ steps.meta-jre25.outputs.tags }}
labels: ${{ steps.meta-jre25.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max

Expand Down Expand Up @@ -174,7 +174,7 @@ jobs:

Alternatively, you can pull an image with a given JRE:
```shell
docker pull ${{ env.IMAGE_NAME }}:${{ github.ref_name }}-jre24
docker pull ${{ env.IMAGE_NAME }}:${{ github.ref_name }}-jre25
```
```shell
docker pull ${{ env.IMAGE_NAME }}:${{ github.ref_name }}-jre21
Expand Down
0