initial script and publish action
This commit is contained in:
parent
a1f1eca3f6
commit
e478a4c836
70 changed files with 2602 additions and 0 deletions
26
.github/workflows/publish.yml
vendored
Normal file
26
.github/workflows/publish.yml
vendored
Normal 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"
|
||||
Loading…
Add table
Add a link
Reference in a new issue