Add Docker build CI to pull requests
This commit is contained in:
parent
8f762fa085
commit
e00307ef03
1 changed files with 4 additions and 1 deletions
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
|
@ -4,6 +4,9 @@ on:
|
|||
push:
|
||||
branches:
|
||||
- main
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
docker:
|
||||
|
@ -26,7 +29,7 @@ jobs:
|
|||
id: docker_build
|
||||
uses: docker/build-push-action@v2
|
||||
with:
|
||||
push: true
|
||||
push: ${{ github.event_name == 'push' }}
|
||||
build-args: GITHUB_SHA
|
||||
tags: ekzhang/rustpad:latest
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue