Add github action to build and publish dev image to dockerhub

pull/438/head
Zois Pagoulatos 5 years ago
parent 8aad258408
commit 2c39d2954b
No known key found for this signature in database
GPG Key ID: A40759B6C8AC2811

@ -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
Loading…
Cancel
Save