Compare commits

..

2 Commits

Author SHA1 Message Date
9d6bb5bc79 Removed github action from docker build 2021-03-07 12:56:07 +07:00
1c8781f552 Add ci for github action build and publish image 2021-03-07 12:52:22 +07:00
2 changed files with 22 additions and 1 deletions

View File

@@ -8,4 +8,6 @@ scripts
exported.png
LICENSE
README.md
README.md
.github

19
.github/workflows/gradle.yml vendored Normal file
View File

@@ -0,0 +1,19 @@
name: CI
on:
push:
branches:
- master
jobs:
build:
name: Build and Publish Docker Image
runs-on: ubuntu-latest
env:
REGISTRY: ${{ secrets.DOCKER_REGISTRY }}
steps:
- uses: actions/checkout@v1
- name: Sign-in to Private Registry "${REGISTRY}"
run: docker login $REGISTRY -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }}
- name: Building Docker Image
run: /bin/bash scripts/build.sh