Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
goSDN
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
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
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
danet
goSDN
Merge requests
!343
Add basic application framework and example application to show interaction between events an NBI
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Add basic application framework and example application to show interaction between events an NBI
istaester/init-application-framework
into
develop
Overview
16
Commits
225
Pipelines
57
Changes
14
Merged
Ghost User
requested to merge
istaester/init-application-framework
into
develop
2 years ago
Overview
16
Commits
225
Pipelines
57
Changes
14
Expand
Depends on:
!340 (merged)
!344 (merged)
!349 (merged)
!342 (merged)
Edited
2 years ago
by
Ghost User
0
0
Merge request reports
Viewing commit
68b64e12
Show latest version
14 files
+
151
−
62
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
14
Search (e.g. *.vue) (Ctrl+P)
68b64e12
Merge branch 'develop' into istaester/init-topology
· 68b64e12
André Sterba
authored
2 years ago
.gitlab/ci/.build-container.yml
+
2
−
2
Options
@@ -9,14 +9,14 @@
build-testing-image
:
script
:
-
docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
-
docker build -t "$GOSDN_TESTING_IMAGE" -f "${CI_PROJECT_DIR}/controller/Dockerfile" --target "
install
er" --build-arg "GOLANG_VERSION=$GOLANG_VERSION" --build-arg "BUILDARGS=$BUILDARGS" --build-arg "GITLAB_PROXY=${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}/" .
-
docker
buildx
build -t "$GOSDN_TESTING_IMAGE" -f "${CI_PROJECT_DIR}/controller/
controller.
Dockerfile" --target "
build
er" --build-arg "GOLANG_VERSION=$GOLANG_VERSION" --build-arg "BUILDARGS=$BUILDARGS" --build-arg "GITLAB_PROXY=${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}/" .
-
docker push "$GOSDN_TESTING_IMAGE"
<<
:
*build
build-image
:
script
:
-
docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
-
docker build -t "$CI_REGISTRY_IMAGE:$TAG" -f "${CI_PROJECT_DIR}/controller/Dockerfile" --build-arg "GOLANG_VERSION=$GOLANG_VERSION" --build-arg "BUILDARGS=$BUILDARGS" --build-arg "GITLAB_PROXY=${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}/" .
-
docker
buildx
build -t "$CI_REGISTRY_IMAGE:$TAG" -f "${CI_PROJECT_DIR}/controller/
controller.
Dockerfile" --build-arg "GOLANG_VERSION=$GOLANG_VERSION" --build-arg "BUILDARGS=$BUILDARGS" --build-arg "GITLAB_PROXY=${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}/" .
-
docker push "$CI_REGISTRY_IMAGE:$TAG"
# replace all slashes in the tag with hyphen, because slashes are not allowed in tags
-
NEWTAG=${CI_COMMIT_BRANCH//\//-}
Loading