[docker] target repo'
This commit is contained in:
parent
dfec6f5cdc
commit
9e0fee898f
2 changed files with 14 additions and 0 deletions
13
Makefile
Normal file
13
Makefile
Normal file
|
|
@ -0,0 +1,13 @@
|
||||||
|
VERSION=0.`git rev-list --count HEAD`
|
||||||
|
|
||||||
|
DOCKER_BUILD=docker build
|
||||||
|
|
||||||
|
ifeq ($(shell uname -m), arm64)
|
||||||
|
DOCKER_BUILD=docker buildx build --platform linux/amd64
|
||||||
|
endif
|
||||||
|
|
||||||
|
build:
|
||||||
|
$(DOCKER_BUILD) -t registry.domandoman.xyz/utils/serverchecker -f Dockerfile .
|
||||||
|
|
||||||
|
push:
|
||||||
|
docker push registry.domandoman.xyz/utils/serverchecker
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
services:
|
services:
|
||||||
app:
|
app:
|
||||||
image: serverchecker
|
image: serverchecker
|
||||||
|
image: registry.domandoman.xyz/utils/serverchecker
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue