Skip to content

Commit

Permalink
chore: run docker build on PRs (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
skylenet committed Jul 20, 2022
1 parent d58108f commit 769a3c6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
- 'main'
tags:
- 'v*.*.*'
pull_request:

jobs:
docker:
Expand Down Expand Up @@ -39,7 +40,7 @@ jobs:
uses: docker/setup-buildx-action@v1
-
name: Login to DockerHub
uses: docker/login-action@v1
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
Expand All @@ -50,4 +51,4 @@ jobs:
context: .
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
labels: ${{ steps.meta.outputs.labels }}

0 comments on commit 769a3c6

Please sign in to comment.