Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
nomad-remote-tools-hub
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Monitor
Service Desk
Analyze
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
nomad-lab
nomad-remote-tools-hub
Merge requests
!135
Allow fail on retagging in build
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Allow fail on retagging in build
allow-fail-retag
into
develop
Overview
0
Commits
2
Pipelines
2
Changes
1
Merged
Florian Dobener
requested to merge
allow-fail-retag
into
develop
2 years ago
Overview
0
Commits
2
Pipelines
2
Changes
1
Expand
0
0
Merge request reports
Compare
develop
version 1
310dd2d8
2 years ago
develop (base)
and
latest version
latest version
a3101c2e
2 commits,
2 years ago
version 1
310dd2d8
1 commit,
2 years ago
1 file
+
2
−
2
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
.gitlab-ci.yml
+
2
−
2
Options
@@ -63,7 +63,7 @@ build main:
extends
:
.build
script
:
-
docker pull ${CI_REGISTRY_IMAGE}/${IMAGE_NAME}:${DOCKER_TAG} || docker pull ${CI_REGISTRY_IMAGE}/${IMAGE_NAME} ||
true
-
docker tag ${CI_REGISTRY_IMAGE}/${IMAGE_NAME} ${CI_REGISTRY_IMAGE}/${IMAGE_NAME}:${DOCKER_TAG}
-
docker tag ${CI_REGISTRY_IMAGE}/${IMAGE_NAME} ${CI_REGISTRY_IMAGE}/${IMAGE_NAME}:${DOCKER_TAG}
||
true
-
docker build -t ${CI_REGISTRY_IMAGE}/${IMAGE_NAME}:${DOCKER_TAG} .
-
docker push ${CI_REGISTRY_IMAGE}/${IMAGE_NAME}:${DOCKER_TAG}
timeout
:
2h
@@ -79,7 +79,7 @@ build dockerfile:
extends
:
.build
script
:
-
docker pull ${CI_REGISTRY_IMAGE}/${IMAGE_NAME}:${DOCKER_TAG} || docker pull ${CI_REGISTRY_IMAGE}/${IMAGE_NAME} ||
true
-
docker tag ${CI_REGISTRY_IMAGE}/${IMAGE_NAME} ${CI_REGISTRY_IMAGE}/${IMAGE_NAME}:${DOCKER_TAG}
-
docker tag ${CI_REGISTRY_IMAGE}/${IMAGE_NAME} ${CI_REGISTRY_IMAGE}/${IMAGE_NAME}:${DOCKER_TAG}
||
true
-
docker build -t ${CI_REGISTRY_IMAGE}/${IMAGE_NAME}:${DOCKER_TAG} -f ${DOCKERFILE} .
-
docker push ${CI_REGISTRY_IMAGE}/${IMAGE_NAME}:${DOCKER_TAG}
resource_group
:
build_containers
Loading