onstar2mqtt/.github/workflows/release.yml

19 lines
492 B
YAML
Raw Normal View History

2020-12-02 19:14:52 +00:00
name: release
2020-12-02 19:13:11 +00:00
on:
release:
types: [published]
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: michaelwoods/onstar2mqtt
tag_with_ref: true