mirror of https://github.com/statping/statping
github actions
parent
7f29fbf318
commit
e0ce8e6555
|
@ -238,7 +238,9 @@ jobs:
|
|||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Install Libraries
|
||||
run: sudo apt install libc-dev gcc gcc-multilib -y
|
||||
run: |
|
||||
sudo apt update
|
||||
sudo apt install libc-dev gcc gcc-multilib build-essential -y
|
||||
|
||||
- name: Setting ENV's
|
||||
run: |
|
||||
|
|
7
Makefile
7
Makefile
|
@ -155,13 +155,14 @@ docker-manifest:
|
|||
do \
|
||||
echo "Docker build v${VERSION} for linux-$$arch"; \
|
||||
docker build -t statping/statping:v${VERSION}-$$arch --build-arg VERSION=${VERSION} --build-arg ARCH=$$arch .; \
|
||||
docker push statping/statping:v${VERSION}-$$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
|
||||
docker manifest create statping/statping:latest 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
|
||||
docker manifest annotate --os linux --arch $$arch statping/statping:v${VERSION}-$$arch; \
|
||||
done
|
||||
docker manifest push statping/statping:latest
|
||||
|
||||
build-linux:
|
||||
mkdir build || true
|
||||
|
|
Loading…
Reference in New Issue