fix: add checkout step to deploy-production job
هذا الالتزام موجود في:
9
.github/workflows/ci.yml
مباع
9
.github/workflows/ci.yml
مباع
@@ -46,6 +46,15 @@ jobs:
|
|||||||
name: production
|
name: production
|
||||||
# Manual approval is configured at the GitHub Environment level in repo settings.
|
# Manual approval is configured at the GitHub Environment level in repo settings.
|
||||||
steps:
|
steps:
|
||||||
|
- name: Checkout repository
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Log in to Docker Hub
|
||||||
|
uses: docker/login-action@v3
|
||||||
|
with:
|
||||||
|
username: ${{ secrets.DOCKER_USERNAME }}
|
||||||
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||||
|
|
||||||
- name: Retag image for production
|
- name: Retag image for production
|
||||||
uses: docker/build-push-action@v5
|
uses: docker/build-push-action@v5
|
||||||
with:
|
with:
|
||||||
|
|||||||
@@ -46,6 +46,15 @@ jobs:
|
|||||||
name: production
|
name: production
|
||||||
# Manual approval is configured at the GitHub Environment level in repo settings.
|
# Manual approval is configured at the GitHub Environment level in repo settings.
|
||||||
steps:
|
steps:
|
||||||
|
- name: Checkout repository
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Log in to Docker Hub
|
||||||
|
uses: docker/login-action@v3
|
||||||
|
with:
|
||||||
|
username: ${{ secrets.DOCKER_USERNAME }}
|
||||||
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||||
|
|
||||||
- name: Retag image for production
|
- name: Retag image for production
|
||||||
uses: docker/build-push-action@v5
|
uses: docker/build-push-action@v5
|
||||||
with:
|
with:
|
||||||
|
|||||||
المرجع في مشكلة جديدة
حظر مستخدم