diff --git a/.github/workflows/deploy-production.yaml b/.github/workflows/deploy-production.yaml index f2691118a2..8a2c59ca8f 100644 --- a/.github/workflows/deploy-production.yaml +++ b/.github/workflows/deploy-production.yaml @@ -22,6 +22,8 @@ jobs: go-version: "1.18" - name: Checkout uses: actions/checkout@v3 + with: + fetch-depth: 0 # Critical for correct image detection in deploy script - name: Configure AWS credentials uses: aws-actions/configure-aws-credentials@v1-node16 with: @@ -49,6 +51,8 @@ jobs: go-version: "1.18" - name: Checkout uses: actions/checkout@v3 + with: + fetch-depth: 0 # Critical for correct image detection in deploy script - name: Configure AWS credentials uses: aws-actions/configure-aws-credentials@v1-node16 with: diff --git a/.github/workflows/deploy-stage.yaml b/.github/workflows/deploy-stage.yaml index c955325fff..fb2feef0d3 100644 --- a/.github/workflows/deploy-stage.yaml +++ b/.github/workflows/deploy-stage.yaml @@ -22,6 +22,8 @@ jobs: go-version: "1.18" - name: Checkout uses: actions/checkout@v3 + with: + fetch-depth: 0 # Critical for correct image detection in deploy script - name: Configure AWS credentials uses: aws-actions/configure-aws-credentials@v1-node16 with: @@ -49,6 +51,8 @@ jobs: go-version: "1.18" - name: Checkout uses: actions/checkout@v3 + with: + fetch-depth: 0 # Critical for correct image detection in deploy script - name: Configure AWS credentials uses: aws-actions/configure-aws-credentials@v1-node16 with: