You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# use also 'latest' tag if the tag is on the main branch
26
+
@git branch -a --contains ${DOCKER_TAG}| grep main && docker tag ${DOCKER_IMAGE}:${DOCKER_TAG}${DOCKER_IMAGE}:latest ||echo"skipping latest; not on the main branch"
25
27
26
28
.PHONY: docker-push
27
29
docker-push:
28
30
docker push ${DOCKER_IMAGE}:${DOCKER_TAG}
31
+
@git branch -a --contains ${DOCKER_TAG}| grep main && docker push ${DOCKER_IMAGE}:latest ||echo"skipping latest; not on the main branch"
0 commit comments