Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
POC
POC CICD
Commits
1a4d0017
Commit
1a4d0017
authored
2 years ago
by
Alexandro Lopes
Browse files
Options
Download
Email Patches
Plain Diff
Teste environment
parent
7b4dff11
main
1.0.0
No related merge requests found
Pipeline
#483
passed with stages
in 1 minute and 9 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+4
-4
.gitlab-ci.yml
with
4 additions
and
4 deletions
+4
-4
.gitlab-ci.yml
+
4
-
4
View file @
1a4d0017
...
...
@@ -15,8 +15,8 @@ variables:
.script_build_image
:
&script_build_image
variables
:
TAG_LATEST
:
$CI_REGISTRY_IMAGE/$CI_COMMIT_REF_SLUG:latest
;
IMAGE_TAG
:
$CI_REGISTRY_IMAGE/$CI_COMMIT_REF_SLUG:$CI_COMMIT_SHORT_SHA
;
TAG_LATEST
:
$CI_REGISTRY_IMAGE/$CI_COMMIT_REF_SLUG:latest
IMAGE_TAG
:
$CI_REGISTRY_IMAGE/$CI_COMMIT_REF_SLUG:$CI_COMMIT_SHORT_SHA
# rules:
# - if: $CI_COMMIT_TAG
# variables:
...
...
@@ -108,8 +108,8 @@ Build Imagem Producao:
rules
:
-
if
:
$CI_COMMIT_TAG
variables
:
TAG_LATEST
:
$CI_REGISTRY_IMAGE/prod:latest
;
IMAGE_TAG
:
$CI_REGISTRY_IMAGE/prod:$CI_COMMIT_REF_SLUG
;
TAG_LATEST
:
$CI_REGISTRY_IMAGE/prod:latest
IMAGE_TAG
:
$CI_REGISTRY_IMAGE/prod:$CI_COMMIT_REF_SLUG
# Push release:
# stage: push
# environment:
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
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
Menu
Projects
Groups
Snippets
Help