We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 874fcd4 commit a8e9be6Copy full SHA for a8e9be6
.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