Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
eic_container
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository 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
containers
eic_container
Commits
13c974c7
Commit
13c974c7
authored
4 years ago
by
Sylvester Joosten
Browse files
Options
Downloads
Patches
Plain Diff
Updated CI to have develop build
parent
6b758aba
No related branches found
No related tags found
1 merge request
!3
v2.0.1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
containers/builder/Makefile
+10
-0
10 additions, 0 deletions
containers/builder/Makefile
with
10 additions
and
0 deletions
containers/builder/Makefile
+
10
−
0
View file @
13c974c7
...
@@ -81,7 +81,12 @@ release: build-nc publish ## Make a release by building and publishing the `{ver
...
@@ -81,7 +81,12 @@ release: build-nc publish ## Make a release by building and publishing the `{ver
@
echo
"Cleaning up"
@
echo
"Cleaning up"
docker rmi
$(
APP_NAME
)
:latest
docker rmi
$(
APP_NAME
)
:latest
develop
:
build-nc publish-dev
##
Develop build
,
do not publish latest
@
echo
"Cleaning up"
docker rmi
$(
APP_NAME
)
:unstable
release-cached
:
build publish
##
Make a release by building and publishing the `{version}` ans `latest` tagged containers to ECR
release-cached
:
build publish
##
Make a release by building and publishing the `{version}` ans `latest` tagged containers to ECR
develop-cached
:
build login publish-dev
##
develop release
publish
:
login publish-latest publish-version
#
publish-version
##
Publish the `{version}` ans `latest` tagged containers to ECR
publish
:
login publish-latest publish-version
#
publish-version
##
Publish the `{version}` ans `latest` tagged containers to ECR
@
echo
"Publishing done"
@
echo
"Publishing done"
...
@@ -93,6 +98,11 @@ publish-latest: ## Publish the `latest` taged container to ECR
...
@@ -93,6 +98,11 @@ publish-latest: ## Publish the `latest` taged container to ECR
docker push
$(
REG_NAME
)
/
$(
GL_REG_GROUP
)
/
$(
APP_NAME
)
:latest
docker push
$(
REG_NAME
)
/
$(
GL_REG_GROUP
)
/
$(
APP_NAME
)
:latest
#docker rmi
$(
REG_NAME
)
/
$(
GL_REG_GROUP
)
/
$(
APP_NAME
)
:latest
#docker rmi
$(
REG_NAME
)
/
$(
GL_REG_GROUP
)
/
$(
APP_NAME
)
:latest
publish-dev
:
##
Publish the `unstable` taged container to ECR
@
echo
'publish unstable to
$(
REG_NAME
)
/
$(
GL_REG_GROUP
)
/
$(
APP_NAME
)
'
docker tag
$(
APP_NAME
)
:latest
$(
REG_NAME
)
/
$(
GL_REG_GROUP
)
/
$(
APP_NAME
)
:unstable
docker push
$(
REG_NAME
)
/
$(
GL_REG_GROUP
)
/
$(
APP_NAME
)
:unstable
publish-version
:
tag-version
##
Publish the `{version}` taged container to ECR
publish-version
:
tag-version
##
Publish the `{version}` taged container to ECR
@
echo
'publish latest to
$(
REG_NAME
)
/
$(
GL_REG_GROUP
)
/
$(
APP_NAME
)
:
$(
VERSION
)
'
@
echo
'publish latest to
$(
REG_NAME
)
/
$(
GL_REG_GROUP
)
/
$(
APP_NAME
)
:
$(
VERSION
)
'
docker tag
$(
APP_NAME
)
:latest
$(
REG_NAME
)
/
$(
GL_REG_GROUP
)
/
$(
APP_NAME
)
:
$(
VERSION
)
docker tag
$(
APP_NAME
)
:latest
$(
REG_NAME
)
/
$(
GL_REG_GROUP
)
/
$(
APP_NAME
)
:
$(
VERSION
)
...
...
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