Merge pull request #438 from zoispag/feature/437-push-latest-dev-on-master-commit
Feature | Add github action to build and publish dev image to dockerhubpull/448/head
commit
360f07759c
@ -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…
Reference in New Issue