mirror of
https://github.com/containrrr/watchtower.git
synced 2024-12-12 09:04:17 +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
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…
Reference in New Issue
Block a user