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 go install --tags fts5 "-ldflags=-s -w -X main.compiledOn=`date -u +%Y-%m-%dT%H:%M:%SZ`" ./cmd/magneticow
image-magneticod: image-magneticod:
docker build -t magneticod -f Dockerfile.magneticod . docker build -t boramalper/magneticod -f Dockerfile.magneticod .
image-magneticow: image-magneticow:
docker build -t magneticow -f Dockerfile.magneticow . docker build -t boramalper/magneticow -f Dockerfile.magneticow .
image: image-magneticod image-magneticow image: image-magneticod image-magneticow

View File

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