Skip to content

Commit

Permalink
Add github action docker
Browse files Browse the repository at this point in the history
  • Loading branch information
erdnaxe committed Jul 19, 2020
1 parent 80c4f62 commit 9a5ddea
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
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.1.0
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
repository: erdnaxe/kraby
dockerfile: Dockerfile.stablebaselines
tag_with_ref: true

0 comments on commit 9a5ddea

Please sign in to comment.