add gitlab-ci

This commit is contained in:
root
2024-04-03 13:47:14 +00:00
parent bebbe4ce3b
commit ba04b59dec
+3 -3
View File
@@ -9,7 +9,7 @@ build_backend:
- ubuntulab01
script:
- echo "Deploying code to server..."
- docker build -t my_back .notes-backend/
- docker build -t my_back notes-backend/
only:
- temasky-sample03
@@ -20,7 +20,7 @@ build_frontend:
- ubuntulab01
script:
- echo "Deploying code to server..."
- docker build -t my_front .notes-app/
- docker build -t my_front notes-app/
only:
- temasky-sample03
@@ -30,7 +30,7 @@ build_nginx:
- ubuntulab01
script:
- echo "Deploying code to server..."
- docker build -t my_nginx .nginx/
- docker build -t my_nginx nginx/
only:
- temasky-sample03