2020-02-23 15:57:21 +00:00
|
|
|
name: Docker
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
2020-04-17 10:50:44 +01:00
|
|
|
tags:
|
|
|
|
- v2.*
|
|
|
|
- v3.*
|
2020-02-23 15:57:21 +00:00
|
|
|
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 }}
|