summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorOleg Morozenkov <m@oleg.rocks>2021-12-04 12:09:58 +0100
committerGitHub <noreply@github.com>2021-12-04 12:09:58 +0100
commita505f8ed49117c548b15dfd7c6c488be48b8d682 (patch)
tree430b24a047014d66dff11ad30825ff655b4ef1c8 /.github
parent1e0503ef3c114f9eb994b0571ef8ae37b59a4df0 (diff)
Create docker-image.yml
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/docker-image.yml18
1 files changed, 18 insertions, 0 deletions
diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml
new file mode 100644
index 0000000..7f786fc
--- /dev/null
+++ b/.github/workflows/docker-image.yml
@@ -0,0 +1,18 @@
+name: Docker Image CI
+
+on:
+ push:
+ branches: [ master ]
+ pull_request:
+ branches: [ master ]
+
+jobs:
+
+ build:
+
+ runs-on: ubuntu-latest
+
+ steps:
+ - uses: actions/checkout@v2
+ - name: Build the Docker image
+ run: docker build . --file Dockerfile --tag tgbot-cpp:$(date +%s)