File tree Expand file tree Collapse file tree 1 file changed +1
-24
lines changed Expand file tree Collapse file tree 1 file changed +1
-24
lines changed Original file line number Diff line number Diff line change 10
10
workflow_dispatch :
11
11
12
12
jobs :
13
- build :
14
- runs-on : ' ubuntu-latest'
15
-
16
- steps :
17
- - uses : actions/checkout@v2
18
-
19
- - name : Set up Docker Buildx
20
- uses : docker/setup-buildx-action@v2
21
-
22
- - name : Log in to registry
23
- uses : docker/login-action@v2
24
- with :
25
- registry : https://ghcr.io//
26
- username : ${{ secrets.AzureAppService_ContainerUsername_6e6399ab4c2848209c95dce8fff002f0 }}
27
- password : ${{ secrets.AzureAppService_ContainerPassword_0a4b5ca6cf4a4842bf7a558916b72d62 }}
28
-
29
- - name : Build and push container image to registry
30
- uses : docker/build-push-action@v3
31
- with :
32
- push : true
33
- tags : ghcr.io//${{ secrets.AzureAppService_ContainerUsername_6e6399ab4c2848209c95dce8fff002f0 }}/github-copilot-resources/copilot-metrics-viewer:${{ github.sha }}
34
- file : ./Dockerfile
35
13
36
14
deploy :
37
15
runs-on : ubuntu-latest
38
- needs : build
39
16
environment :
40
17
name : ' production'
41
18
url : ${{ steps.deploy-to-webapp.outputs.webapp-url }}
48
25
app-name : ' copilot-metrics-viewer'
49
26
slot-name : ' production'
50
27
publish-profile : ${{ secrets.AzureAppService_PublishProfile_e94dfd38811a421eafe5ce4eee13b68b }}
51
- images : ' ghcr.io//${{ secrets.AzureAppService_ContainerUsername_6e6399ab4c2848209c95dce8fff002f0 }}/github-copilot-resources/copilot-metrics-viewer:${{ github.sha }}'
28
+ images : ' ghcr.io//${{ secrets.AzureAppService_ContainerUsername_6e6399ab4c2848209c95dce8fff002f0 }}/github-copilot-resources/copilot-metrics-viewer:${{ github.sha }}'
You can’t perform that action at this time.
0 commit comments