Skip to content

Commit 28bd5ae

Browse files
committed
WIP: add dummy workflow to tbe able to trigger publish workflow from other branch
1 parent 8703063 commit 28bd5ae

File tree

2 files changed

+46
-0
lines changed

2 files changed

+46
-0
lines changed

.github/publish.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
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

.github/workflows/publish.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
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+

0 commit comments

Comments
 (0)