Skip to content
This repository was archived by the owner on Mar 27, 2023. It is now read-only.

Commit bef56f9

Browse files
committed
fixed release backend job
1 parent 6ce758c commit bef56f9

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.gitlab-ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ variables:
2424
changes:
2525
- documentation/**/*
2626

27-
Pytest:
27+
.Pytest:
2828
image: python:3.7
2929
stage: test
3030
services:
@@ -50,7 +50,7 @@ Pytest:
5050
changes:
5151
- backend/**/*
5252

53-
Jest:
53+
.Jest:
5454
image: node:8
5555
stage: test
5656
before_script:
@@ -66,7 +66,7 @@ Jest:
6666
changes:
6767
- quasar/**/*
6868

69-
Build backend:
69+
.Build backend:
7070
stage: build
7171
image: docker:stable
7272
variables:
@@ -179,10 +179,10 @@ Release backend:
179179
-u $CI_REGISTRY_USER \
180180
-p $CI_REGISTRY_PASSWORD \
181181
$CI_REGISTRY
182-
- docker pull $CI_REGISTRY_IMAGE:latest || true
182+
- docker pull $CI_REGISTRY_IMAGE/backend:latest || true
183183
- |
184184
docker build \
185-
--cache-from $CI_REGISTRY_IMAGE:latest \
185+
--cache-from $CI_REGISTRY_IMAGE/backend:latest \
186186
--target production \
187187
--tag $REPOSITORY_URL:${GitSHA} \
188188
--file scripts/prod/Dockerfile .

0 commit comments

Comments
 (0)