feat: add push to master dockerhub

This commit is contained in:
Andrey Melnikov 2020-03-18 16:09:56 -07:00
parent 2e9857cbae
commit a9809feb83

16
.github/workflows/push_master.yaml vendored Normal file
View File

@ -0,0 +1,16 @@
name: Publish Docker Master
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Publish to Registry
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: onepanel/core
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_TOKEN }}