fix docker tags

This commit is contained in:
Bora M. Alper 2019-09-18 02:27:04 +01:00
parent 46e4395786
commit cc401bb9c7
No known key found for this signature in database
GPG Key ID: 8F1A9504E1BD114D
2 changed files with 8 additions and 6 deletions

View File

@ -12,10 +12,10 @@ magneticow:
go install --tags fts5 "-ldflags=-s -w -X main.compiledOn=`date -u +%Y-%m-%dT%H:%M:%SZ`" ./cmd/magneticow
image-magneticod:
docker build -t magneticod -f Dockerfile.magneticod .
docker build -t boramalper/magneticod -f Dockerfile.magneticod .
image-magneticow:
docker build -t magneticow -f Dockerfile.magneticow .
docker build -t boramalper/magneticow -f Dockerfile.magneticow .
image: image-magneticod image-magneticow

View File

@ -3,16 +3,18 @@ version: "2"
services:
magneticod:
build:
context: .
dockerfile: Dockerfile.magneticod
image: boramalper/magneticod
# context: .
# dockerfile: Dockerfile.magneticod
volumes:
- magneticod-data:/root/.local/share/magneticod
- magneticod-config:/root/.config/magneticod
magneticow:
build:
context: .
dockerfile: Dockerfile.magneticow
image: boramalper/magneticow
# context: .
# dockerfile: Dockerfile.magneticow
volumes:
- magneticod-data:/root/.local/share/magneticod
depends_on: