Skip to content
Snippets Groups Projects
Commit 09d12941 authored by Josha Bartsch's avatar Josha Bartsch :headphones:
Browse files

Fix references to target image

do not use latest explicitly outside of tag latest on main branch
parent fe1e8aab
No related branches found
No related tags found
No related merge requests found
Pipeline #978171 passed
......@@ -42,7 +42,7 @@ tag-latest:
pages:
image:
name: ${CI_REGISTRY_IMAGE}:latest
name: ${CI_REGISTRY_IMAGE}:${CI_COMMIT_REF_SLUG}
entrypoint: [""]
stage: deploy
script:
......@@ -59,14 +59,14 @@ test:
script:
- mkdir out
- chmod 777 out
- docker run --name examscan --rm -v $(pwd):$(pwd) -w $(pwd) ${CI_REGISTRY_IMAGE}:latest watermark.py tests/assets/pdfs out
- docker run --name examscan --rm -v $(pwd):$(pwd) -w $(pwd) ${CI_REGISTRY_IMAGE}:${CI_COMMIT_REF_SLUG} watermark.py tests/assets/pdfs out
artifacts:
paths:
- out/
test-coverage:
image:
name: ${CI_REGISTRY_IMAGE}:latest
name: ${CI_REGISTRY_IMAGE}:${CI_COMMIT_REF_SLUG}
entrypoint: [""]
stage: test
script:
......@@ -83,7 +83,7 @@ test-coverage:
test-docs:
image:
name: ${CI_REGISTRY_IMAGE}:latest
name: ${CI_REGISTRY_IMAGE}:${CI_COMMIT_REF_SLUG}
entrypoint: [""]
stage: test
script:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment