Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions .github/workflows/Build-Test-And-Deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,17 +63,6 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v4

# Build but no push with a PR
- name: Docker build (no push)
if: github.event_name == 'pull_request' || github.event_name == 'merge_group'
uses: docker/build-push-action@v7
with:
push: false
tags: temp-pr-validation
file: ./EssentialCSharp.Web/Dockerfile
context: .
build-args: ACCESS_TO_NUGET_FEED=false

# Only build for dev registry — prod gets the image via az acr import in deploy-production
- name: Build Container Image
if: github.event_name != 'pull_request_target' && github.event_name != 'pull_request'
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/PR-Build-And-Test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: PR Build and Test EssentialCSharp.Web
on:
pull_request:
branches: ["main"]
merge_group:
workflow_dispatch:

jobs:
Expand Down Expand Up @@ -67,7 +68,7 @@ jobs:
with:
file: ./EssentialCSharp.Web/Dockerfile
context: .
outputs: type=docker,dest=${{ github.workspace }}/essentialcsharpwebimage.tar
push: false
cache-from: type=gha
cache-to: type=gha,mode=max
build-args: ACCESS_TO_NUGET_FEED=false
Loading