Skip to content

Commit

Permalink
Update dockerpublish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
wlanboy authored Apr 13, 2020
1 parent c31c830 commit 0530a3f
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/dockerpublish.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
name: Docker build and publish image
on:
watch:
types: [started]
push:
tags:
- '*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
if: github.actor == github.event.repository.owner.login
uses: actions/setup-java@v1
with:
java-version: 11
Expand All @@ -17,7 +17,6 @@ jobs:

- uses: actions/checkout@master
- name: Publish to Registry
if: github.actor == github.event.repository.owner.login
uses: elgohr/Publish-Docker-Github-Action@master
env:
JAR_FILE: ./target/mirrorservice-0.1.1-SNAPSHOT.jar
Expand Down

0 comments on commit 0530a3f

Please sign in to comment.