Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ycai
simbricks
Commits
214c3666
Commit
214c3666
authored
Jun 20, 2022
by
Antoine Kaufmann
Browse files
docker: only retag existing images
parent
60b3dd23
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
docker/rules.mk
docker/rules.mk
+1
-0
No files found.
docker/rules.mk
View file @
214c3666
...
@@ -61,6 +61,7 @@ docker-images-tofino:
...
@@ -61,6 +61,7 @@ docker-images-tofino:
docker-retag
:
docker-retag
:
for
i
in
$(DOCKER_IMAGES)
;
do
\
for
i
in
$(DOCKER_IMAGES)
;
do
\
docker image inspect
$$
i
>
/dev/null
&&
\
docker tag
$(DOCKER_REGISTRY_FROM)
$
${i}$(DOCKER_TAG_FROM)
\
docker tag
$(DOCKER_REGISTRY_FROM)
$
${i}$(DOCKER_TAG_FROM)
\
$(DOCKER_REGISTRY)
$
${i}$(DOCKER_TAG)
;
\
$(DOCKER_REGISTRY)
$
${i}$(DOCKER_TAG)
;
\
done
done
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment