2 Star 0 Fork 0

mirrors_c-bata/gcloud

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
docker.mk 656 Bytes
一键复制 编辑 原始数据 按行查看 历史
GitHub 提交于 2018-10-16 22:49 +08:00 . Initial commit
IMAGE_NAME=$(shell basename $(CURDIR))
.PHONY: docker-lint
docker-lint: ## Run Dockerfile Lint on all dockerfiles.
dockerfile_lint -r $(ROOT_DIR)/.dockerfile_lint/github_actions.yaml $(wildcard Dockerfile* */Dockerfile*)
.PHONY: docker-build
docker-build: ## Build the top level Dockerfile using the directory or $IMAGE_NAME as the name.
docker build -t $(IMAGE_NAME) .
.PHONY: docker-tag
docker-tag: ## Tag the docker image using the tag script.
tag $(IMAGE_NAME) '$(DOCKER_REPO)/$(IMAGE_NAME)' --no-latest
.PHONY: docker-publish
docker-publish: docker-tag ## Publish the image and tags to a repository.
docker push '$(DOCKER_REPO)/$(IMAGE_NAME)'
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors_c-bata/gcloud.git
git@gitee.com:mirrors_c-bata/gcloud.git
mirrors_c-bata
gcloud
gcloud
master

搜索帮助