From aaf222e709c530109efd207b16929acbff8fb342 Mon Sep 17 00:00:00 2001 From: Ahmed Hesham Date: Wed, 1 Oct 2025 13:43:22 +0300 Subject: [PATCH] add run image.yml --- .github/workflows/run image.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/run image.yml diff --git a/.github/workflows/run image.yml b/.github/workflows/run image.yml new file mode 100644 index 0000000..315c0c2 --- /dev/null +++ b/.github/workflows/run image.yml @@ -0,0 +1,21 @@ +name: Run Docker Image + +on: + workflow_dispatch: # run manually, or change to push/pr + +jobs: + run-docker: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Run Docker container with secrets + run: | + docker run \ + -e smtp_email=${{ secrets.SMTP_EMAIL }} \ + -e smtp_password=${{ secrets.SMTP_PASSWORD }} \ + -e receiver_email=${{ secrets.RECEIVER_EMAIL }} \ + -e api_keys=${{ secrets.API_KEYS }} \ + ahmedhesham301/jobfit-ai:latest