Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Cecile Cavet
test-ci
Commits
8549224d
Commit
8549224d
authored
Sep 23, 2021
by
Cecile Cavet
Browse files
Update .gitlab-ci.yml
parent
02781c40
Pipeline
#136992
failed with stages
in 44 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
7 deletions
+11
-7
.gitlab-ci.yml
.gitlab-ci.yml
+11
-7
No files found.
.gitlab-ci.yml
View file @
8549224d
...
...
@@ -15,16 +15,16 @@ cache:
# - touch data/truc.txt
stages
:
-
step1
#
- step1
-
build
-
deploy
step1
:
stage
:
step1
script
:
#
step1:
#
stage: step1
#
script:
#- touch data/truc2.txt
#- ls data
-
pwd
#
- pwd
#step2:
# stage: step2
...
...
@@ -92,5 +92,9 @@ build:
before_script
:
-
docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
script
:
-
docker build --pull -t ${IMAGE_BUILD_TAG} -f Dockerfile --build-arg IMAGE_VERSION=${IMAGE_BUILD_TAG} .
-
docker push ${IMAGE_BUILD_TAG}
-
docker build --pull -t $IMAGE_BUILD_TAG .
-
docker push $IMAGE_BUILD_TAG
#script:
# - docker build --pull -t ${IMAGE_BUILD_TAG} --build-arg IMAGE_VERSION=${IMAGE_BUILD_TAG} .
# - docker push ${IMAGE_BUILD_TAG}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment