Add Github Action for building Dione

This commit is contained in:
ChronosX88 2021-08-05 23:12:50 +03:00
parent d048795140
commit 5d5dc1878e
Signed by: ChronosXYZ
GPG Key ID: 085A69A82C8C511A

17
.github/workflows/dione.yml vendored Normal file
View File

@ -0,0 +1,17 @@
name: Dione
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Get Commit Hash
id: get_commit_hash
run: echo ::set-output name=COMMIT_HASH::$(git rev-parse --short "$GITHUB_SHA")
- name: build image
run: docker build -f ./docker/Dockerfile -t "dione:${{ steps.get_commit_hash.outputs.COMMIT_HASH }}" .