From 2c39d2954b2be09a7ea6dfa892217aa5c7fd4b72 Mon Sep 17 00:00:00 2001 From: Zois Pagoulatos Date: Sat, 11 Jan 2020 17:58:02 +0100 Subject: [PATCH] Add github action to build and publish dev image to dockerhub --- .../workflows/publish-dev-dockerimage.yaml | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/publish-dev-dockerimage.yaml diff --git a/.github/workflows/publish-dev-dockerimage.yaml b/.github/workflows/publish-dev-dockerimage.yaml new file mode 100644 index 0000000..a94a65c --- /dev/null +++ b/.github/workflows/publish-dev-dockerimage.yaml @@ -0,0 +1,24 @@ +name: Docker image (latest-dev) + +on: + push: + branches: + - master + +jobs: + + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + + - uses: jerray/publish-docker-action@master + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_PASSWORD }} + path: ./dockerfiles/ + file: Dockerfile.self-contained + repository: containrrr/watchtower + tags: latest-dev