mirror of
https://github.com/InsanusMokrassar/BooruGrabberTelegramBot.git
synced 2026-10-25 21:46:57 +00:00
add deployment to docker
This commit is contained in:
1 parent
132349e1ea
commit
8f2c98026b
3 files changed
+49
No files matched your search
@@ -0,0 +1,23 @@
|
||||
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: Deploy
|
||||
run: ./gradlew build && ./nonsudo_deploy
|
||||
Reference in new issue
Block a user