31 lines
568 B
YAML
31 lines
568 B
YAML
name: Docker
|
|
|
|
on:
|
|
# push:
|
|
# branches:
|
|
# - actions
|
|
workflow_run:
|
|
workflows:
|
|
- Build
|
|
types:
|
|
- completed
|
|
branches:
|
|
- actions
|
|
|
|
jobs:
|
|
|
|
docker:
|
|
name: Docker
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Install
|
|
run: curl -sfL https://raw.githubusercontent.com/ldez/seihon/master/godownloader.sh | sudo bash -s -- -b $GOPATH/bin v0.5.1
|
|
|
|
- name: Login
|
|
run: docker login -u ${{ secrets.DOCKER_USER }} -p ${{ secrets.DOCKER_PASS }}
|
|
|
|
- name: Build
|
|
run: make publish-latest
|