Skip to content

Commit a1ad141

Browse files
authored
Update main_copilot-metrics-viewer.yml
1 parent 1d02c9c commit a1ad141

File tree

1 file changed

+1
-24
lines changed

1 file changed

+1
-24
lines changed

.github/workflows/main_copilot-metrics-viewer.yml

Lines changed: 1 addition & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -10,32 +10,9 @@ on:
1010
workflow_dispatch:
1111

1212
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
3513

3614
deploy:
3715
runs-on: ubuntu-latest
38-
needs: build
3916
environment:
4017
name: 'production'
4118
url: ${{ steps.deploy-to-webapp.outputs.webapp-url }}
@@ -48,4 +25,4 @@ jobs:
4825
app-name: 'copilot-metrics-viewer'
4926
slot-name: 'production'
5027
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 }}'

0 commit comments

Comments
 (0)