We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fa91edc + 35a7034 commit 6ad0457Copy full SHA for 6ad0457
.github/workflows/containerDeployment.yml
@@ -0,0 +1,25 @@
1
+name: API Contactos CI/CD
2
+
3
+on:
4
+ push:
5
+ branches: [ "main" ]
6
7
+env:
8
+ IMAGE_BASE_NAME: aminespinoza/apicontactos
9
10
+jobs:
11
+ API_Image:
12
+ runs-on: ubuntu-latest
13
+ defaults:
14
+ run:
15
+ working-directory: src/ContactosAPI
16
+ steps:
17
+ - name: Check out the repo
18
+ uses: actions/checkout@v3
19
20
+ - name: Looking for files
21
+ run: ls -a
22
23
+ - name: Build Docker NET image
24
+ run: |
25
+ docker build --platform linux -t $IMAGE_BASE_NAME .
0 commit comments