Skip to content

Commit

Permalink
Fix php push
Browse files Browse the repository at this point in the history
  • Loading branch information
nickschuch committed Sep 3, 2019
1 parent d3d5ce4 commit a521b1f
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions php/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,17 @@ endef

define push_image
# Pushing production images.
docker push $(REGISTRY)/php:${1}-1.x
docker push $(REGISTRY)/php-fpm:${1}-1.x
docker push $(REGISTRY)/php-cli:${1}-1.x
docker push $(REGISTRY):${1}-1.x
docker push $(REGISTRY)-fpm:${1}-1.x
docker push $(REGISTRY)-cli:${1}-1.x

# Pushing dev images.
docker push $(REGISTRY)/php-fpm:${1}-1.x-dev
docker push $(REGISTRY)/php-cli:${1}-1.x-dev
docker push $(REGISTRY)-fpm:${1}-1.x-dev
docker push $(REGISTRY)-cli:${1}-1.x-dev

# Pushing Xdebug images.
docker push $(REGISTRY)/php-fpm:${1}-1.x-xdebug
docker push $(REGISTRY)/php-cli:${1}-1.x-xdebug
docker push $(REGISTRY)-fpm:${1}-1.x-xdebug
docker push $(REGISTRY)-cli:${1}-1.x-xdebug
endef

build:
Expand All @@ -42,4 +42,4 @@ push:
$(call push_image,7.2)
$(call push_image,7.3)

.PHONY: *
.PHONY: *

0 comments on commit a521b1f

Please sign in to comment.