From a8c0f5fcdc6301cab28e61785753551a98a8c57e Mon Sep 17 00:00:00 2001 From: Chris Reed <55092742+cjreed121@users.noreply.github.com> Date: Sat, 31 Aug 2024 00:06:20 -0400 Subject: [PATCH 1/2] Add build on PR --- .github/workflows/docker-build-pr.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/docker-build-pr.yml diff --git a/.github/workflows/docker-build-pr.yml b/.github/workflows/docker-build-pr.yml new file mode 100644 index 0000000..4974bac --- /dev/null +++ b/.github/workflows/docker-build-pr.yml @@ -0,0 +1,15 @@ +name: Docker Build and Push + +on: + pull_request: + branches: + - main + +jobs: + call-docker-build-push: + uses: submitty/action-docker-build/.github/workflows/docker-build-push.yml@v24.07.00 + with: + push: false + docker_org_name: submittyrpi + base_commit: ${{ github.event.pull_request.base.sha }} + head_commit: ${{ github.event.pull_request.head.sha }} \ No newline at end of file From c78855813144f97e895b83e41d03de0f49066049 Mon Sep 17 00:00:00 2001 From: Chris Reed <55092742+cjreed121@users.noreply.github.com> Date: Sat, 31 Aug 2024 00:08:06 -0400 Subject: [PATCH 2/2] Newline --- .github/workflows/docker-build-pr.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docker-build-pr.yml b/.github/workflows/docker-build-pr.yml index 4974bac..9153e9a 100644 --- a/.github/workflows/docker-build-pr.yml +++ b/.github/workflows/docker-build-pr.yml @@ -12,4 +12,4 @@ jobs: push: false docker_org_name: submittyrpi base_commit: ${{ github.event.pull_request.base.sha }} - head_commit: ${{ github.event.pull_request.head.sha }} \ No newline at end of file + head_commit: ${{ github.event.pull_request.head.sha }}