We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4128719 commit 5ac1bb8Copy full SHA for 5ac1bb8
1 file changed
.github/workflows/Build-Test-And-Deploy.yml
@@ -47,9 +47,17 @@ jobs:
47
run: dotnet test --no-build --configuration Release
48
49
- name: Set up Docker Buildx
50
- if: github.event_name != 'pull_request_target' && github.event_name != 'pull_request'
51
uses: docker/setup-buildx-action@v3
52
+# Build but no push with a PR
53
+ - name: Docker build (no push)
54
+ if: github.event_name == 'pull_request' || github.event_name == 'merge_group'
55
+ uses: docker/build-push-action@v6
56
+ with:
57
+ push: false
58
+ tags: temp-pr-validation
59
+ file: ./EssentialCSharp.Web/Dockerfile
60
+
61
- name: Build Container Image
62
if: github.event_name != 'pull_request_target' && github.event_name != 'pull_request'
63
uses: docker/build-push-action@v6
0 commit comments