mirror of
https://github.com/fosrl/newt.git
synced 2025-05-12 21:20:39 +01:00
add arm/v7 to cicd
This commit is contained in:
parent
3d15ecb732
commit
bc72c96b5e
2 changed files with 3 additions and 2 deletions
1
.go-version
Normal file
1
.go-version
Normal file
|
@ -0,0 +1 @@
|
||||||
|
1.23.2
|
4
Makefile
4
Makefile
|
@ -6,8 +6,8 @@ docker-build-release:
|
||||||
echo "Error: tag is required. Usage: make build-all tag=<tag>"; \
|
echo "Error: tag is required. Usage: make build-all tag=<tag>"; \
|
||||||
exit 1; \
|
exit 1; \
|
||||||
fi
|
fi
|
||||||
docker buildx build --platform linux/arm64,linux/amd64 -t fosrl/newt:latest -f Dockerfile --push .
|
docker buildx build --platform linux/arm64,linux/amd64,linux/arm/v7 -t fosrl/newt:latest -f Dockerfile --push .
|
||||||
docker buildx build --platform linux/arm64,linux/amd64 -t fosrl/newt:$(tag) -f Dockerfile --push .
|
docker buildx build --platform linux/arm64,linux/amd64,linux/arm/v7 -t fosrl/newt:$(tag) -f Dockerfile --push .
|
||||||
|
|
||||||
build:
|
build:
|
||||||
docker build -t fosrl/newt:latest .
|
docker build -t fosrl/newt:latest .
|
||||||
|
|
Loading…
Reference in a new issue