Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
Go Canary Collector
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ComputerSecurity
Go Canary Collector
Commits
c29544f3
Commit
c29544f3
authored
11 months ago
by
Jose Carlos Luna Duran
Browse files
Options
Downloads
Patches
Plain Diff
Gitlab pipeline v1
parent
7e124438
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+35
-0
35 additions, 0 deletions
.gitlab-ci.yml
with
35 additions
and
0 deletions
.gitlab-ci.yml
0 → 100644
+
35
−
0
View file @
c29544f3
stages
:
-
build
build
:
stage
:
build
only
:
-
master
image
:
name
:
gcr.io/kaniko-project/executor:v1.14.0-debug
entrypoint
:
[
"
"
]
script
:
-
/kaniko/executor
--context "${CI_PROJECT_DIR}"
--dockerfile "${CI_PROJECT_DIR}/Dockerfile"
--destination "${CI_REGISTRY_IMAGE}:${CI_COMMIT_TAG}"
rules
:
-
if
:
$CI_COMMIT_TAG
build_latest
:
stage
:
build
image
:
name
:
gcr.io/kaniko-project/executor:v1.14.0-debug
entrypoint
:
[
"
"
]
script
:
-
/kaniko/executor
--context "${CI_PROJECT_DIR}"
--dockerfile "${CI_PROJECT_DIR}/Dockerfile"
--destination "${CI_REGISTRY_IMAGE}:latest"
-
cp /canary/gocanary $CI_PROJECT_DIR/
rules
:
-
when
:
manual
artifacts
:
when
:
always
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment