feat: add environment to docker-compose

This commit is contained in:
Eli Bosley
2023-11-13 12:20:17 -05:00
parent fa5658fd81
commit 9623f238b3

View File

@@ -45,12 +45,17 @@ services:
entrypoint: /bin/bash
environment:
- IS_DOCKER=true
- GIT_SHA=${git rev-parse --short HEAD}
- IS_TAGGED=$(git describe --tags --abbrev=0 --exact-match)
profiles:
- builder
builder:
image: unraid-api:builder
environment:
- GIT_SHA=${git rev-parse --short HEAD}
- IS_TAGGED=$(git describe --tags --abbrev=0 --exact-match)
build:
context: .
target: builder