initial script and publish action

This commit is contained in:
Gergely Hegedus 2022-08-25 19:02:00 +03:00
parent a1f1eca3f6
commit e478a4c836
70 changed files with 2602 additions and 0 deletions

26
.github/workflows/publish.yml vendored Normal file
View file

@ -0,0 +1,26 @@
name: Image Publishing
on:
workflow_dispatch:
jobs:
publish-images:
runs-on: ubuntu-latest
permissions:
packages: write
contents: read
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Setup Java
uses: actions/setup-java@v2
with:
distribution: 'adopt'
java-version: '11'
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_LOGIN_USER }}
password: ${{ secrets.DOCKER_LOGIN_TOKEN }}
- name: Publish Project
run: ./gradlew run --args="$(pwd)/configuration.toml"