@@ -47,34 +47,34 @@ jobs:
47
47
body: body
48
48
});
49
49
50
- dockerBuildPush :
51
- runs-on : ubuntu-latest
52
- needs : build
50
+ dockerBuildPush :
51
+ runs-on : ubuntu-latest
52
+ needs : build
53
53
54
- steps :
55
- - uses : actions/checkout@v3
54
+ steps :
55
+ - uses : actions/checkout@v3
56
56
57
- - name : Docker Login
58
- # You may pin to the exact commit or the version.
59
- # uses: docker/login-action@28218f9b04b4f3f62068d7b6ce6ca5b26e35336c
60
-
61
- with :
62
- # Server address of Docker registry. If not set then will default to Docker Hub
63
- registry : ${{ secrets.ACR_LOGIN_SERVER }}
64
- # Username used to log against the Docker registry
65
- username : ${{ secrets.ACR_USERNAME }}
66
- # Password or personal access token used to log against the Docker registry
67
- password : ${{ secrets.ACR_PASSWORD }}
68
- # Log out from the Docker registry at the end of a job
69
- logout : true
57
+ - name : Docker Login
58
+ # You may pin to the exact commit or the version.
59
+ # uses: docker/login-action@28218f9b04b4f3f62068d7b6ce6ca5b26e35336c
60
+
61
+ with :
62
+ # Server address of Docker registry. If not set then will default to Docker Hub
63
+ registry : ${{ secrets.ACR_LOGIN_SERVER }}
64
+ # Username used to log against the Docker registry
65
+ username : ${{ secrets.ACR_USERNAME }}
66
+ # Password or personal access token used to log against the Docker registry
67
+ password : ${{ secrets.ACR_PASSWORD }}
68
+ # Log out from the Docker registry at the end of a job
69
+ logout : true
70
70
71
- - name : Docker Build
72
- run : docker build -t $registryName/$repositoryName:$tag --build-arg build_version=$tag $dockerFolderPath
71
+ - name : Docker Build
72
+ run : docker build -t $registryName/$repositoryName:$tag --build-arg build_version=$tag $dockerFolderPath
73
73
74
- - name : Docker Push
75
- run : docker push $registryName/$repositoryName:$tag
74
+ - name : Docker Push
75
+ run : docker push $registryName/$repositoryName:$tag
76
76
77
- deploy-to-dev :
77
+ deploy-to-dev :
78
78
79
79
runs-on : ubuntu-latest
80
80
needs : dockerBuildPush
91
91
- uses : azure/webapps-deploy@v2
92
92
with :
93
93
app-name : ' jo37jiy66vx2y-dev'
94
- images : {your_registry_name} .azurecr.io/techexcel/dotnetcoreapp:${{github.run_number}}
94
+ images : jo37jiy66vx2ympnpreg .azurecr.io/techexcel/dotnetcoreapp:${{github.run_number}}
95
95
96
96
deploy-to-test :
97
97
@@ -112,7 +112,7 @@ jobs:
112
112
- uses : azure/webapps-deploy@v2
113
113
with :
114
114
app-name : ' jo37jiy66vx2y-test'
115
- images : {your_registry_name} .azurecr.io/techexcel/dotnetcoreapp:${{github.run_number}}
115
+ images : jo37jiy66vx2ympnpreg .azurecr.io/techexcel/dotnetcoreapp:${{github.run_number}}
116
116
117
117
deploy-to-prod :
118
118
0 commit comments