Files
prodigyapi/.github/workflows/publish.yml
Matthew Peveler 0e242e323b add docker deploy step to github workflows (#1321)
Signed-off-by: Matthew Peveler <matt.peveler@gmail.com>
2020-10-27 14:42:44 -04:00

23 lines
524 B
YAML

name: Publish Docker image
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_ACCESS_KEY }}
repository: slatedocs/slate
tag_with_ref: true
tags: latest