github actions

pull/523/head
hunterlong 2020-04-22 00:19:03 -07:00
parent 24b711113a
commit 7f29fbf318
2 changed files with 8 additions and 4 deletions

View File

@ -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: |

View File

@ -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