update Docker Build & Push.yml
هذا الالتزام موجود في:
@@ -13,9 +13,8 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v5.0.0
|
- name: checkout code
|
||||||
- name: Build the Docker image
|
uses: actions/checkout@v5.0.0
|
||||||
run: docker build . --file Dockerfile --tag ahmedhesham301/jobfitai:$(date +%s)
|
|
||||||
|
|
||||||
- name: login to dockerhub
|
- name: login to dockerhub
|
||||||
uses: docker/login-action@v3.6.0
|
uses: docker/login-action@v3.6.0
|
||||||
@@ -23,4 +22,8 @@ jobs:
|
|||||||
username: ${{ vars.DOCKERHUB_USERNAME }}
|
username: ${{ vars.DOCKERHUB_USERNAME }}
|
||||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||||
|
|
||||||
|
- name: Build and push
|
||||||
|
uses: docker/build-push-action@v6
|
||||||
|
with:
|
||||||
|
push: true
|
||||||
|
tags: ahmedhesham301/jobfitai:$(date +%s)
|
المرجع في مشكلة جديدة
حظر مستخدم