Files
rfd-notify/.github/workflows/docker.yml
Dave Gallant 7b59bf8163 Add initial Action (#40)
* Add initial Github action.
2020-10-26 00:35:19 -04:00

28 lines
793 B
YAML

name: Publish Docker image
on:
push:
tags:
- v*
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: Publish version to Registry
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: davegallant/rfd-notify
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
tag_semver: true
- name: Publish latest to Registry
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: davegallant/rfd-notify
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
tags: "latest"