-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (32 loc) · 1.03 KB
/
development.yml
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
name: "development"
on:
push:
branches: [ 'bugfix/*', 'feature/*' , 'hotfix/*' ]
jobs:
build:
runs-on: ubuntu-latest
env:
DOCKER_REPO: "seemscloud"
steps:
- name: "[Repository] Clone"
uses: actions/checkout@v2
- name: "[Login] Docker Hub"
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
ssh-key: ${{secrets.SSH_BOT_SEEMS_CLOUD}}
- name: "[Setup] JDK 17"
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
architecture: x64
- uses: webfactory/[email protected]
with:
ssh-private-key: ${{secrets.SSH_BOT_SEEMS_CLOUD}}
- name: "[Script] Version Suffix"
run: |
export VERSION_SUFFIX=$(/bin/bash ${GITHUB_WORKSPACE}/.github/scripts/version-suffix.sh)
- name: "[Maven] Build (Release, Versioning Enabled)"
run: mvn clean package --no-transfer-progress