Skip to content

Commit 0fdf9b6

Browse files
authored
Create docker-image.yml
1 parent 7ec0e64 commit 0fdf9b6

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/docker-image.yml

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: build_deploy_az_webapp
2+
on:
3+
push:
4+
paths:
5+
- "/**"
6+
jobs:
7+
build:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Checkout source code
11+
uses: actions/checkout@v3
12+
- name: ACR build
13+
id: build-push-acr
14+
uses: azure/acr-build@v1
15+
with:
16+
service_principal: ${{ secrets.SERVICE_PRINCIPAL }}
17+
service_principal_password: ${{ secrets.SERVICE_PRINCIPAL_PASSWORD }}
18+
tenant: ${{ secrets.TENANT }}
19+
registry: ${{ secrets.REGISTRY }}
20+
repository: ${{ secrets.REPOSITORY }}
21+
image: swapi
22+
folder: .
23+
branch: master
24+
tag: ${{ github.sha }}

0 commit comments

Comments
 (0)