Skip to content

Commit

Permalink
Create sbt-docker-publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
zhongl committed Apr 14, 2021
1 parent 70527a2 commit ed2abd2
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/sbt-docker-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Docker Publish
on:
push:
tags: ["*"]

jobs:
publish:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2.3.4
with:
fetch-depth: 0
- uses: olafurpg/setup-scala@v10
- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- run: sbt docker:publish

0 comments on commit ed2abd2

Please sign in to comment.