From a9809feb83cacec5c0e4a3112472b29ec254905f Mon Sep 17 00:00:00 2001 From: Andrey Melnikov Date: Wed, 18 Mar 2020 16:09:56 -0700 Subject: [PATCH] feat: add push to master dockerhub --- .github/workflows/push_master.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/push_master.yaml diff --git a/.github/workflows/push_master.yaml b/.github/workflows/push_master.yaml new file mode 100644 index 0000000..9d4e77a --- /dev/null +++ b/.github/workflows/push_master.yaml @@ -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 }} \ No newline at end of file