FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
runtime/.github/workflows/java-release.yml at dev · 1Panel-dev/runtime · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
1Panel-dev
/
runtime
Public
Notifications
You must be signed in to change notification settings
Fork
15
Star
16
Code
Issues
0
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
runtime
/
.github
/
workflows
/
java-release.yml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
50 lines (45 loc) · 1.36 KB
Breadcrumbs
runtime
/
.github
/
workflows
/
java-release.yml
Copy path
File metadata and controls
50 lines (45 loc) · 1.36 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
name
:
Build Java Image
on
:
workflow_dispatch
:
inputs
:
javaVersion
:
description
:
'
Java Version
'
default
:
'
21
'
required
:
true
javaVariant
:
description
:
'
Eclipse Temurin image variant
'
default
:
'
jdk-noble
'
required
:
true
platforms
:
description
:
'
Platforms
'
default
:
'
linux/amd64,linux/arm64/v8
'
required
:
true
jobs
:
docker
:
runs-on
:
ubuntu-latest
steps
:
-
name
:
Checkout
uses
:
actions/checkout@v5
-
name
:
Set up QEMU
uses
:
docker/setup-qemu-action@v3
-
name
:
Set up Docker Buildx
uses
:
docker/setup-buildx-action@v3
-
name
:
Login to Docker Hub
uses
:
docker/login-action@v3
with
:
username
:
${{ secrets.DOCKERHUB_USERNAME }}
password
:
${{ secrets.DOCKERHUB_PASSWORD }}
-
name
:
Build Java Image and Push
uses
:
docker/build-push-action@v6
with
:
context
:
java
file
:
java/Dockerfile
platforms
:
${{ github.event.inputs.platforms }}
push
:
true
build-args
:
|
JAVA_VERSION=${{ github.event.inputs.javaVersion }}
JAVA_VARIANT=${{ github.event.inputs.javaVariant }}
tags
:
|
1panel/java:${{ github.event.inputs.javaVersion }}
cache-from
:
type=gha
cache-to
:
type=gha,mode=max
Back
|
FazBrowse Home
|
New Git URL