Skip to content

Commit 67a9d29

Browse files
committed
Publish :3 tags
1 parent b28728b commit 67a9d29

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,10 @@ publish-docker-images: docker-images
8686
echo "docker push $$publicImage:latest"; \
8787
docker tag $$privateImage:latest $$publicImage:latest; \
8888
docker push $$publicImage:latest; \
89+
echo ""; \
90+
echo "docker push $$publicImage:3"; \
91+
docker tag $$privateImage:latest $$publicImage:3; \
92+
docker push $$publicImage:3; \
8993
if (test $(DOCKER_TAG)); then \
9094
echo "Pushing tagged images"; \
9195
for tag in $(call resolve_tags); do \

new-docker-tags.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@
1414

1515
$version = $argv[1];
1616
if (!preg_match('|([0-9]+)\.([0-9]+)\.([0-9]+)|', $version, $match)) {
17-
echo 'Please provide a version with 3 numbers in it. Like "1.12.34"';
17+
echo 'Please provide a version with 3 numbers in it. Like "3.12.34"';
1818
exit(1);
1919
}
2020

2121
$update = false;
2222
if (isset($argv[2])) {
2323
if ('--update' !== $argv[2]) {
24-
echo sprintf('Use "--update" if you want to update the config.json. Like "./%s 1.2.3 --update"', basename(__FILE__));
24+
echo sprintf('Use "--update" if you want to update the config.json. Like "./%s 3.2.3 --update"', basename(__FILE__));
2525
exit(1);
2626
}
2727
$update = true;

0 commit comments

Comments
 (0)