Skip to content

Commit

Permalink
Build on pr but don't publish (#16)
Browse files Browse the repository at this point in the history
* Create pr.yml
  • Loading branch information
Eeems authored Oct 29, 2022
1 parent a75110f commit 69a8763
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: pr
on:
pull_request:
branches:
- v1.x
- v2.x
jobs:
build:
name: Publish latest
runs-on: ubuntu-latest
steps:
- name: Checkout the Git repository
uses: actions/checkout@v2
- name: Build images
run: |
echo "${{ secrets.CR_PAT }}" | docker login ghcr.io -u matteodelabre --password-stdin
./scripts/build .

0 comments on commit 69a8763

Please sign in to comment.