Updated tagging
This commit is contained in:
@@ -13,7 +13,10 @@ help: ## This info
|
||||
@echo
|
||||
|
||||
build: ## Build the Docker image
|
||||
export TAG=${GIT_HASH} && docker compose build
|
||||
docker compose build
|
||||
|
||||
tag: ## Tag the Docker image
|
||||
docker tag aviation-service:latest aviation-service:${GIT_HASH}
|
||||
|
||||
utils: ## Start the utils
|
||||
docker compose up -d db
|
||||
|
||||
@@ -63,8 +63,6 @@ services:
|
||||
- "${SERVICE_PORT:-5000}:5000"
|
||||
build:
|
||||
context: .
|
||||
tags:
|
||||
- aviation-service:${TAG:-latest}
|
||||
depends_on:
|
||||
- db
|
||||
- redis
|
||||
|
||||
Reference in New Issue
Block a user