2020-02-23 18:57:21 +03:00
|
|
|
name: Docker
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
2020-04-17 12:50:44 +03:00
|
|
|
tags:
|
|
|
|
- v2.*
|
|
|
|
- v3.*
|
2020-02-23 18:57:21 +03: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 }}
|
2020-06-30 19:26:59 +03:00
|
|
|
tag_names: true
|