Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
Example App
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
Jakob Probst
Example App
Commits
a939520f
Commit
a939520f
authored
3 weeks ago
by
Jakob Probst
Browse files
Options
Downloads
Patches
Plain Diff
example app
parents
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Pipeline
#267544
passed
3 weeks ago
Stage: build
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+11
-0
11 additions, 0 deletions
.gitlab-ci.yml
Containerfile
+9
-0
9 additions, 0 deletions
Containerfile
with
20 additions
and
0 deletions
.gitlab-ci.yml
0 → 100644
+
11
−
0
View file @
a939520f
stages
:
-
build
include
:
-
component
:
$CI_SERVER_FQDN/its/templates-and-utilities/gitlab-ci-components/build-container-image/build-container-image@1
inputs
:
job-name
:
build example-app
containerfile
:
$CI_PROJECT_DIR/Containerfile
context
:
$CI_PROJECT_DIR
image
:
$CI_REGISTRY_IMAGE:$CI_COMMIT_SHA
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Containerfile
0 → 100644
+
9
−
0
View file @
a939520f
FROM
docker.io/golang:latest
as
builder
RUN
CGO_ENABLED
=
0 go
install
github.com/dexidp/dex/examples/example-app@latest
FROM
docker.io/alpine:latest
COPY
--from=builder /go/bin/example-app /usr/local/bin/example-app
CMD
[ "example-app" ]
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