Skip to content

Commit

Permalink
feat(ci): Pr docker build ci (#117)
Browse files Browse the repository at this point in the history
* Build DockerFile on prs

* Update name to be Pull Request

* Checkout pr sha
  • Loading branch information
Mitsuwa authored Oct 4, 2023
1 parent 071afe1 commit fe172bd
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Pull Request

on:
pull_request:

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Build the Docker image
uses: docker/build-push-action@v4
with:
context: .
push: false

1 comment on commit fe172bd

@belmont4
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

gj

Please sign in to comment.