Add docker build (#1239)

This commit is contained in:
Asim Aslam 2020-02-23 15:57:21 +00:00 committed by GitHub
parent 117f56ebf7
commit 915c424213
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

19
.github/workflows/docker.yml vendored Normal file
View File

@ -0,0 +1,19 @@
name: Docker
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
name: Check out repository
- uses: elgohr/Publish-Docker-Github-Action@2.12
name: Build and Push Docker Image
with:
name: micro/go-micro
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}