From 15130f1c958d1c3a876ed5f5d569c2cd2f06ac8b Mon Sep 17 00:00:00 2001 From: Esteban Sanchez Date: Fri, 23 Oct 2020 21:49:29 +0200 Subject: [PATCH] Added action to push to dockerhub --- .github/workflows/docker.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/docker.yml diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml new file mode 100644 index 0000000..ac0c38b --- /dev/null +++ b/.github/workflows/docker.yml @@ -0,0 +1,19 @@ +name: Docker + +on: + push: + branches: [ master ] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: 'Checkout GitHub Action' + uses: actions/checkout@v2 + - name: Build and push docker + uses: docker/build-push-action@v1 + with: + username: ${{ secrets.REGISTRY_USERNAME }} + password: ${{ secrets.REGISTRY_PASSWORD }} + repository: DOCKER_REPOSITORY + tags: latest