Updated tagging

This commit is contained in:
2023-12-19 16:25:11 -05:00
parent 6f002856c1
commit c2e9f4dad0
6 changed files with 13 additions and 11 deletions

View File

@@ -13,7 +13,10 @@ help: ## This info
@echo
build: ## Install the dependencies and build
export TAG=${GIT_HASH} && docker compose build
docker compose build
tag: ## Tag the Docker image
docker tag aviation-ui:latest aviation-ui:${GIT_HASH}
up: ## Start the dev instance
docker compose up -d

View File

@@ -13,8 +13,6 @@ services:
build:
context: ./
target: dev
tags:
- aviation-ui:${TAG:-latest}
command: "npm run dev"
volumes:
- ./src:/app/src