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
60b3dd23
Commit
60b3dd23
authored
Jun 20, 2022
by
Antoine Kaufmann
Browse files
docker: add docker-retag target
parent
2853b1c9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
docker/rules.mk
docker/rules.mk
+6
-0
No files found.
docker/rules.mk
View file @
60b3dd23
...
@@ -59,6 +59,12 @@ docker-images-tofino:
...
@@ -59,6 +59,12 @@ docker-images-tofino:
docker build
-t
$(DOCKER_REGISTRY)
simbricks/simbricks:tofino
\
docker build
-t
$(DOCKER_REGISTRY)
simbricks/simbricks:tofino
\
-f
docker/Dockerfile.tofino .
-f
docker/Dockerfile.tofino .
docker-retag
:
for
i
in
$(DOCKER_IMAGES)
;
do
\
docker tag
$(DOCKER_REGISTRY_FROM)
$
${i}$(DOCKER_TAG_FROM)
\
$(DOCKER_REGISTRY)
$
${i}$(DOCKER_TAG)
;
\
done
docker-push
:
docker-push
:
for
i
in
$(
addprefix
$(DOCKER_REGISTRY)
,
$(
addsuffix
$(DOCKER_TAG)
,
\
for
i
in
$(
addprefix
$(DOCKER_REGISTRY)
,
$(
addsuffix
$(DOCKER_TAG)
,
\
$(DOCKER_IMAGES)
))
;
do
\
$(DOCKER_IMAGES)
))
;
do
\
...
...
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