File tree Expand file tree Collapse file tree 2 files changed +46
-0
lines changed
Expand file tree Collapse file tree 2 files changed +46
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Publish
2+ on :
3+ workflow_dispatch :
4+ inputs :
5+ tag :
6+ description : ' Tag for OCI image to publish'
7+ required : true
8+ env :
9+ REGISTRY : ghcr.io
10+ IMAGE_NAME : ${{ github.repository }}
11+
12+ jobs :
13+ build-and-publish-image :
14+ runs-on : ubuntu-24.04
15+ steps :
16+ - uses : actions/checkout@v4
Original file line number Diff line number Diff line change 1+ name : Publish
2+ on :
3+ workflow_dispatch :
4+ inputs :
5+ tag :
6+ description : ' Tag for OCI image to publish'
7+ required : true
8+ env :
9+ REGISTRY : ghcr.io
10+ IMAGE_NAME : ${{ github.repository }}
11+
12+ jobs :
13+ build-and-publish-image :
14+ runs-on : ubuntu-24.04
15+
16+ # Permissions required for publishing Docker image.
17+ # See https://docs.github.com/en/actions/use-cases-and-examples/publishing-packages/publishing-docker-images#publishing-images-to-github-packages
18+ permissions :
19+ contents : read
20+ packages : write
21+
22+ steps :
23+ - uses : actions/checkout@v4
24+ - name : Set up JDK 15
25+ uses : actions/setup-java@v4
26+ with :
27+ java-version : ' 15'
28+ distribution : ' temurin'
29+ cache : maven
30+
You can’t perform that action at this time.
0 commit comments