mirror of
https://github.com/containrrr/watchtower.git
synced 2025-09-22 05:40:50 +02:00
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 dockerhub
This commit is contained in:
commit
360f07759c
1 changed files with 24 additions and 0 deletions
24
.github/workflows/publish-dev-dockerimage.yaml
vendored
Normal file
24
.github/workflows/publish-dev-dockerimage.yaml
vendored
Normal file
|
@ -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…
Add table
Add a link
Reference in a new issue