Skip to content

Commit 2586a65

Browse files
committed
Build and push image in GitHub Actions
1 parent 7984aee commit 2586a65

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/main.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: main
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
workflow_dispatch:
7+
8+
jobs:
9+
10+
build:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Login to DockerHub
14+
uses: docker/login-action@v1
15+
with:
16+
username: ${{ secrets.DOCKERHUB_USERNAME }}
17+
password: ${{ secrets.DOCKERHUB_TOKEN }}
18+
19+
- name: Build and push
20+
uses: docker/build-push-action@v2
21+
with:
22+
tags: markhobson/sqlpackage:latest
23+
push: true

0 commit comments

Comments
 (0)