This repository has been archived by the owner on Sep 24, 2024. It is now read-only.
Fixes #168 - Add devcontainer.json #108
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build | |
on: | |
push: | |
branches: | |
- '*' | |
tags-ignore: | |
- 'v*' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Set up Java | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 20 | |
- name: Build with Maven | |
run: mvn -B --ntp package | |
- name: Login to Docker Hub | |
uses: docker/login-action@v2 | |
with: | |
username: ${{ secrets.DOCKER_USERNAME }} | |
password: ${{ secrets.DOCKER_PASSWORD }} | |
- name: Push to Docker Hub | |
run: mvn -B -DskipTests=true -DskipITs=true -ntp -P docker docker:build docker:push |