Adding dockerimage.yml for GH Actions CI
This commit is contained in:
parent
5307af5a61
commit
49146b9103
1 changed files with 17 additions and 0 deletions
17
.github/workflows/dockerimage.yml
vendored
Normal file
17
.github/workflows/dockerimage.yml
vendored
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
name: Docker Image CI
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
|
||||||
|
build:
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v1
|
||||||
|
- name: Build the Docker image
|
||||||
|
run: docker build . --file Dockerfile --tag backup-server:$(date +%s)
|
Loading…
Reference in a new issue