Skip to content

Merge pull request #2 from InsanusMokrassar/0.0.9 #28

Merge pull request #2 from InsanusMokrassar/0.0.9

Merge pull request #2 from InsanusMokrassar/0.0.9 #28

name: Docker
on:
push:
branches:
- master
jobs:
publishing:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Log into registry
uses: docker/login-action@28218f9b04b4f3f62068d7b6ce6ca5b26e35336c
with:
username: ${{ secrets.DOCKER_LOGIN }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Set up JDK 17
uses: actions/setup-java@v1
with:
java-version: 17
- name: Deploy
run: ./gradlew build && cd ./runner && ./nonsudo_deploy.sh