Skip to content

Commit c2080e8

Browse files
committed
fix: use correct Docker tag for docker-test job
The docker-test job was trying to pull an image with tag from version output (v2.0.16) but the docker job pushes images with 'develop' tag on develop branch. Changed docker-test to use 'develop' tag to match the pushed image, resolving the 'manifest not found' error in the CI/CD pipeline.
1 parent 0e564c9 commit c2080e8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci-cd.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ jobs:
226226
password: ${{ secrets.DOCKERHUB_TOKEN }}
227227

228228
- name: Pull image for testing
229-
run: docker pull ${{ env.REGISTRY_IMAGE }}:${{ needs.test-and-build.outputs.version }}
229+
run: docker pull ${{ env.REGISTRY_IMAGE }}:develop
230230

231231
- name: Test Docker image
232232
run: |
@@ -238,7 +238,7 @@ jobs:
238238
-v $(pwd)/test_config:/app/config \
239239
-v $(pwd)/test_logs:/app/logs \
240240
-v $(pwd)/test_exports:/app/exports \
241-
${{ env.REGISTRY_IMAGE }}:${{ needs.test-and-build.outputs.version }} --help
241+
${{ env.REGISTRY_IMAGE }}:develop --help
242242
243243
echo "✅ Docker image tests passed successfully"
244244

0 commit comments

Comments
 (0)