mirror of https://github.com/statping/statping
github actions
parent
24b711113a
commit
7f29fbf318
|
@ -238,7 +238,7 @@ jobs:
|
|||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Install Libraries
|
||||
run: sudo apt install libc-dev gcc -y
|
||||
run: sudo apt install libc-dev gcc gcc-multilib -y
|
||||
|
||||
- name: Setting ENV's
|
||||
run: |
|
||||
|
|
10
Makefile
10
Makefile
|
@ -154,10 +154,14 @@ docker-manifest:
|
|||
for arch in $(ARCHS);\
|
||||
do \
|
||||
echo "Docker build v${VERSION} for linux-$$arch"; \
|
||||
docker build -t statping/statping:${VERSION}-$$arch --build-arg VERSION=${VERSION} --build-arg ARCH=$$arch .; \
|
||||
docker push statping/statping:${VERSION}-$$arch
|
||||
docker build -t statping/statping:v${VERSION}-$$arch --build-arg VERSION=${VERSION} --build-arg ARCH=$$arch .; \
|
||||
docker push statping/statping:v${VERSION}-$$arch
|
||||
done
|
||||
docker manifest create statping/statping:v${VERSION} statping/statping:v${VERSION}-amd64 statping/statping:v${VERSION}-386 statping/statping:v${VERSION}-arm statping/statping:v${VERSION}-arm64
|
||||
do \
|
||||
echo "Docker Manifest v${VERSION} for linux-$$arch"; \
|
||||
docker manifest annotate --os linux --arch $$arch statping/statping:v${VERSION}-$$arch
|
||||
done
|
||||
docker manifest create statping/statping:${VERSION}
|
||||
|
||||
build-linux:
|
||||
mkdir build || true
|
||||
|
|
Loading…
Reference in New Issue