Skip to content

Commit 6b8a2eb

Browse files
committed
Add environment variables for Docker deployment in dotnet-deployment.yml
1 parent ba25835 commit 6b8a2eb

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

.github/workflows/dotnet-deployment.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,21 @@
33

44
name: .NET
55

6+
env:
7+
registryName: kqrfo3r42nm3umpnpreg.azurecr.io
8+
repositoryName: techexcel/dotnetcoreapp
9+
dockerFolderPath: ./src/Application/src/RazorPagesTestSample
10+
tag: ${{ github.run_number }}
11+
612
on:
713
push:
814
branches: ["main"]
915
paths: src/Application/**
1016
pull_request:
1117
branches: ["main"]
1218
paths: src/Application/**
13-
14-
env:
15-
registryName: kqrfo3r42nm3umpnpreg.azurecr.io
16-
repositoryName: techexcel/dotnetcoreapp
17-
dockerFolderPath: ./src/Application/src/RazorPagesTestSample
18-
tag: ${{ github.run_number }}
19+
# Allows you to run this workflow manually from the Actions tab
20+
workflow_dispatch:
1921

2022
jobs:
2123
build:

0 commit comments

Comments
 (0)