Skip to content

Commit 10cbc07

Browse files
committed
ci: pipeline for released images
1 parent bf7b875 commit 10cbc07

File tree

2 files changed

+28
-1
lines changed

2 files changed

+28
-1
lines changed

.github/workflows/publish-release.yml

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Kubernetes Dashboard (GA)
2+
3+
on:
4+
push:
5+
tags:
6+
- 'v*'
7+
8+
jobs:
9+
publish-release-image:
10+
name: Publish YAKD Release
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout
14+
uses: actions/checkout@v3
15+
- name: Setup Node
16+
uses: actions/setup-node@v3
17+
- name: Setup Java 17
18+
uses: actions/setup-java@v3
19+
with:
20+
java-version: '17'
21+
distribution: 'temurin'
22+
- name: Build and Push
23+
run: |
24+
mvn -Pbuild-frontend,native,k8s clean package k8s:build k8s:push \
25+
-Dcontainer.image.tag=${GITHUB_REF#refs/tags/v} \
26+
-Djkube.docker.push.username=${{ secrets.DOCKER_USERNAME }} \
27+
-Djkube.docker.push.password=${{ secrets.DOCKER_PASSWORD }}

.github/workflows/publish-snapshot.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Kubernetes Dashboard
1+
name: Kubernetes Dashboard (SNAPSHOTS)
22

33
on:
44
push:

0 commit comments

Comments
 (0)