Skip to content
Snippets Groups Projects
Commit 114b58ca authored by nimrod's avatar nimrod
Browse files

Small CI fixups.

parent ea19f8e2
No related branches found
No related tags found
No related merge requests found
Pipeline #1909 failed
...@@ -42,8 +42,8 @@ variables: ...@@ -42,8 +42,8 @@ variables:
stage: deploy stage: deploy
tags: *tags tags: *tags
script: script:
- docker tag "$HASH" "registry.shore.co.il/$IMAGE:$TAG" - docker tag "$HASH" "registry.shore.co.il/$IMAGE:${TAG:-latest}"
- docker push "registry.shore.co.il/$IMAGE:$TAG" - docker push "registry.shore.co.il/$IMAGE:${TAG:-latest}"
rules: *rules rules: *rules
# cgit image: # cgit image:
...@@ -56,6 +56,7 @@ build-cgit: ...@@ -56,6 +56,7 @@ build-cgit:
push-cgit: push-cgit:
extends: .push extends: .push
variables: variables:
CONTEXT: cgit
IMAGE: cgit IMAGE: cgit
needs: needs:
- job: build-cgit - job: build-cgit
...@@ -116,6 +117,7 @@ build-sshd: ...@@ -116,6 +117,7 @@ build-sshd:
push-sshd: push-sshd:
extends: .push extends: .push
variables: variables:
CONTEXT: sshd
IMAGE: sshd IMAGE: sshd
needs: needs:
- job: build-sshd - job: build-sshd
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment