Skip to content

Commit 50f1d0f

Browse files
committed
Add github workflow for build
1 parent 0e8752b commit 50f1d0f

File tree

2 files changed

+25
-1
lines changed

2 files changed

+25
-1
lines changed

.editorconfig

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,7 @@ insert_final_newline = true
77
trim_trailing_whitespace = true
88
insert_final_newline = true
99
indent_style = space
10-
indent_size = 4
10+
indent_size = 4
11+
12+
[{*.yml,*.yaml}]
13+
indent_size = 2

.github/workflows/build.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Dockerhub Deploy
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
9+
jobs:
10+
deploy:
11+
name: Deploy
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Build
15+
uses: docker/build-push-action@v1
16+
with:
17+
username: ${{ secrets.DOCKER_USERNAME }}
18+
password: ${{ secrets.DOCKER_PASSWORD }}
19+
repository: benrowe/mysql-to-sqlite3
20+
tags: latest
21+

0 commit comments

Comments
 (0)