nginx-proxy-auto-docker/.github/workflows/docker_push.yml
Robin Windey fd6f6e2659
docker hub push (#3)
* Docker push action; sync forc manually

* Run on push

* Update README badges

* Remove test
2020-10-10 09:59:30 +02:00

23 lines
No EOL
562 B
YAML

name: Publish Docker image
on:
workflow_dispatch:
release:
types: [published]
push:
branches:
- master
jobs:
push_to_registry:
name: Push Docker image to Docker Hub
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v2
- name: Push to Docker Hub
uses: docker/build-push-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
repository: seitenwerke/nginx-proxy
tag_with_ref: true