Skip to content

Commit

Permalink
Add github action to build and publish dev image to dockerhub
Browse files Browse the repository at this point in the history
  • Loading branch information
zoispag committed Jan 11, 2020
1 parent 8aad258 commit 2c39d29
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/publish-dev-dockerimage.yaml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 2c39d29

Please sign in to comment.