forked from hiddenswitch/Spellsource
-
Notifications
You must be signed in to change notification settings - Fork 0
24 lines (24 loc) · 730 Bytes
/
Copy pathcd.yaml
File metadata and controls
24 lines (24 loc) · 730 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
name: Build Image
on:
push:
branches: ['master']
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
java-version: '19'
distribution: temurin
- uses: gradle/wrapper-validation-action@v1
- name: Test with Gradle
run: ./gradlew --no-parallel test
- name: Log in to the Container registry
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build Server Image
run: ./gradlew spellsource-server:githubDockerPush