Compare commits
16 الالتزامات
20715f2cbd
...
main
| المؤلف | SHA1 | التاريخ | |
|---|---|---|---|
| c4c7dc83a0 | |||
| 63850448c7 | |||
| fa3a1a096b | |||
| fff8c2353b | |||
| b19c34ec12 | |||
| 8f9abab1b8 | |||
| 605adc24f0 | |||
| 0e7b32fe23 | |||
| 6d265e83f3 | |||
| 9c37736dc7 | |||
| 3ebd1c8bfc | |||
| 31a6318087 | |||
| e665a7bcc8 | |||
| a0f642ce5a | |||
| fb79264e0d | |||
| a20e7d8728 |
20
.ghaymah.json
Normal file
20
.ghaymah.json
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
{
|
||||||
|
"id": "eb1b607d-2f98-465c-a288-5523387c69ea",
|
||||||
|
"name": "ghaymahci-test",
|
||||||
|
"projectId": "02b6641b-1c1e-47de-ac1d-2f2a8e62c1ea",
|
||||||
|
"ports": [
|
||||||
|
{
|
||||||
|
"expose": true,
|
||||||
|
"number": 80
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"publicAccess": {
|
||||||
|
"enabled": true,
|
||||||
|
"domain": "auto"
|
||||||
|
},
|
||||||
|
"resourceTier": "t1",
|
||||||
|
"container": {
|
||||||
|
"image": "ahmedhesham301/nginx:latest",
|
||||||
|
"pullSecretName": ""
|
||||||
|
}
|
||||||
|
}
|
||||||
36
.github/workflows/ci.yaml
مباع
Normal file
36
.github/workflows/ci.yaml
مباع
Normal file
@@ -0,0 +1,36 @@
|
|||||||
|
on:
|
||||||
|
push:
|
||||||
|
pull_request:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build_and_push_image:
|
||||||
|
steps:
|
||||||
|
- name: checkout code
|
||||||
|
uses: actions/checkout@v5.0.0
|
||||||
|
|
||||||
|
- name: login to dockerhub
|
||||||
|
uses: docker/login-action@v3.6.0
|
||||||
|
with:
|
||||||
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||||
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||||
|
|
||||||
|
- name: Build and push
|
||||||
|
uses: docker/build-push-action@v6
|
||||||
|
with:
|
||||||
|
context: .
|
||||||
|
push: true
|
||||||
|
tags: ahmedhesham301/nginx:latest
|
||||||
|
|
||||||
|
deploy:
|
||||||
|
needs: build_and_push_image
|
||||||
|
steps:
|
||||||
|
- name: checkout code
|
||||||
|
uses: actions/checkout@v5.0.0
|
||||||
|
- name: install ghaymah cli
|
||||||
|
run: curl -sSl https://cli.ghaymah.systems/install.sh | bash
|
||||||
|
|
||||||
|
- name: login to ghaymah
|
||||||
|
run: $HOME/ghaymah/bin/gy auth login --email "${{secrets.GHAYMAH_EMAIL}}" --password "${{secrets.GHAYMAH_PW}}"
|
||||||
|
|
||||||
|
- name: deploy
|
||||||
|
run: $HOME/ghaymah/bin/gy resource app launch
|
||||||
ثنائية
Dockerfile
ثنائية
Dockerfile
ملف ثنائي غير معروض.
@@ -5,5 +5,10 @@
|
|||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<p>Hello, world!</p>
|
<p>Hello, world!</p>
|
||||||
|
<p>Hello, world!</p>
|
||||||
|
<p>Hello, world!</p>
|
||||||
|
<p>Hello, world!</p>
|
||||||
|
<p>Hello, world!</p>
|
||||||
|
<p>Hello, world!</p>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
المرجع في مشكلة جديدة
حظر مستخدم