github actions

pull/523/head
hunterlong 2020-04-22 00:48:56 -07:00
parent 316d1c197b
commit 43413c709f
2 changed files with 10 additions and 2 deletions

View File

@ -240,7 +240,7 @@ jobs:
- name: Install Libraries
run: |
sudo apt update
sudo apt install libc-dev gcc-multilib build-essential musl-dev gcc -y
sudo apt install libc-dev gcc-multilib build-essential musl-dev gcc g++ -y
- name: Setting ENV's
run: |

View File

@ -157,7 +157,15 @@ docker-manifest:
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
for arch in $(ARCHS);\
do \
echo "Docker Manifest v${VERSION} for linux-$$arch"; \
docker manifest annotate --os linux --arch $$arch statping/statping:v${VERSION}-$$arch; \
done
docker manifest push statping/statping:v${VERSION}
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
for arch in $(ARCHS);\
do \
echo "Docker Manifest v${VERSION} for linux-$$arch"; \
docker manifest annotate --os linux --arch $$arch statping/statping:v${VERSION}-$$arch; \