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
86950b33
Commit
86950b33
authored
4 years ago
by
Sylvester Joosten
Browse files
Options
Downloads
Patches
Plain Diff
Added missing staging stage to release
parent
77c1c0a2
No related branches found
No related tags found
1 merge request
!11
Optimize CI setup, add libpoppler, and some minor polish
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
containers/release/Makefile
+10
-0
10 additions, 0 deletions
containers/release/Makefile
with
10 additions
and
0 deletions
containers/release/Makefile
+
10
−
0
View file @
86950b33
...
@@ -81,11 +81,16 @@ release: build-nc publish ## Make a release by building and publishing the `{ver
...
@@ -81,11 +81,16 @@ 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
staging
:
build-nc publish-staging
##
Develop build
,
do not publish latest
@
echo
"Cleaning up"
#docker rmi
$(
APP_NAME
)
:latest
develop
:
build-nc publish-dev
##
Develop build
,
do not publish latest
develop
:
build-nc publish-dev
##
Develop build
,
do not publish latest
@
echo
"Cleaning up"
@
echo
"Cleaning up"
#docker rmi
$(
APP_NAME
)
:latest
#docker rmi
$(
APP_NAME
)
:latest
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
staging-cached
:
build login publish-staging
##
staging release
develop-cached
:
build login publish-dev
##
develop release
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
...
@@ -98,6 +103,11 @@ publish-latest: ## Publish the `latest` taged container to ECR
...
@@ -98,6 +103,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-staging
:
##
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
)
:testing
docker push
$(
REG_NAME
)
/
$(
GL_REG_GROUP
)
/
$(
APP_NAME
)
:testing
publish-dev
:
##
Publish the `unstable` taged container to ECR
publish-dev
:
##
Publish the `unstable` taged container to ECR
@
echo
'publish unstable to
$(
REG_NAME
)
/
$(
GL_REG_GROUP
)
/
$(
APP_NAME
)
'
@
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 tag
$(
APP_NAME
)
:latest
$(
REG_NAME
)
/
$(
GL_REG_GROUP
)
/
$(
APP_NAME
)
:unstable
...
...
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