Skip to content

Commit d79dbd8

Browse files
authored
Merge pull request #68 from brefphp/push-latest
2 parents 3d715f3 + 90222e0 commit d79dbd8

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

Makefile

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,16 +72,13 @@ upload-layers-php-%:
7272
# Publish Docker images to Docker Hub.
7373
upload-to-docker-hub: upload-to-docker-hub-php-80 upload-to-docker-hub-php-81 upload-to-docker-hub-php-82
7474
upload-to-docker-hub-php-%:
75-
# While in beta we tag and push the `:2` version, later we'll push `:latest` as well
7675
for image in \
7776
"bref/${CPU_PREFIX}php-$*" "bref/${CPU_PREFIX}php-$*-fpm" "bref/${CPU_PREFIX}php-$*-console" \
7877
"bref/${CPU_PREFIX}build-php-$*" "bref/${CPU_PREFIX}php-$*-fpm-dev"; \
7978
do \
8079
docker tag $$image $$image:2 ; \
81-
docker push $$image:2 ; \
8280
done
83-
# TODO: when v2 becomes "latest", we should also push "latest" tags
84-
# We could actually use `docker push --all-tags` at the end probably?
81+
docker push --all-tags
8582

8683

8784
test: test-80 test-81 test-82

0 commit comments

Comments
 (0)