mirror of
https://github.com/metal3d/docker-xmrig.git
synced 2024-08-15 16:00:35 +03:00
Remove docker.io
This commit is contained in:
parent
744ef7d67a
commit
d38d859597
18
Makefile
18
Makefile
@ -1,7 +1,7 @@
|
|||||||
VERSION = 6.20.0
|
VERSION = 6.20.0
|
||||||
CUDA_PLUGIN_VERSION=6.17.0
|
CUDA_PLUGIN_VERSION=6.17.0
|
||||||
CUDA_VERSION=11-4
|
CUDA_VERSION=11-4
|
||||||
REL = $(VERSION)-2
|
REL = $(VERSION)-local
|
||||||
THREADS = $(shell nproc)
|
THREADS = $(shell nproc)
|
||||||
PRIORITY = 0
|
PRIORITY = 0
|
||||||
REPO=docker.io/metal3d/xmrig
|
REPO=docker.io/metal3d/xmrig
|
||||||
@ -32,19 +32,3 @@ run-cuda: build
|
|||||||
-e CUDA=true \
|
-e CUDA=true \
|
||||||
-e NO_CPU=true \
|
-e NO_CPU=true \
|
||||||
$(REPO):$(REL)
|
$(REPO):$(REL)
|
||||||
|
|
||||||
deploy: build
|
|
||||||
$(CC) push $(REPO):$(REL)
|
|
||||||
$(CC) push $(REPO):latest
|
|
||||||
|
|
||||||
test:
|
|
||||||
|
|
||||||
.ONESHELL:
|
|
||||||
set-description:
|
|
||||||
ifdef PASSWORD
|
|
||||||
@echo "Changing description"
|
|
||||||
token=`http $(HUB)/users/login username=$(USERNAME) password=$(PASSWORD) | jq -r '.token'`
|
|
||||||
http --form PATCH $(HUB)/repositories/metal3d/xmrig/ Authorization:"JWT $$token" full_description=@README.md
|
|
||||||
else
|
|
||||||
@echo "You need to provide repo password in PASSWORD variable argument"
|
|
||||||
endif
|
|
||||||
|
Loading…
Reference in New Issue
Block a user