From 6665858ca4b294f22af8c926bbca2cc55d9843d0 Mon Sep 17 00:00:00 2001 From: mac Date: Mon, 27 Jul 2026 16:08:56 +0300 Subject: [PATCH] fix: add checkout step to deploy-production job --- .github/workflows/ci.yml | 9 +++++++++ q3-cicd/workflow.yml | 9 +++++++++ 2 files changed, 18 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 944047d..6b41a77 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -46,6 +46,15 @@ jobs: name: production # Manual approval is configured at the GitHub Environment level in repo settings. 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 uses: docker/build-push-action@v5 with: diff --git a/q3-cicd/workflow.yml b/q3-cicd/workflow.yml index 944047d..6b41a77 100644 --- a/q3-cicd/workflow.yml +++ b/q3-cicd/workflow.yml @@ -46,6 +46,15 @@ jobs: name: production # Manual approval is configured at the GitHub Environment level in repo settings. 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 uses: docker/build-push-action@v5 with: