ci: use self-hosted to build container images (#1206)

ci: use self-hosted

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
Signed-off-by: Ettore Di Giacinto <mudler@users.noreply.github.com>
This commit is contained in:
Ettore Di Giacinto 2023-10-26 21:13:40 +02:00 committed by GitHub
parent c62504ac92
commit fc0bc32814
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 39 deletions

View file

@ -15,7 +15,7 @@ concurrency:
jobs:
ubuntu-latest:
runs-on: self-hosted
runs-on: gpu
strategy:
matrix:
go-version: ['1.21.x']
@ -59,5 +59,5 @@ jobs:
make \
TEST_DIR="/host/tests/${{ github.head_ref || github.ref }}" \
teardown-e2e || true
sudo rm -rf /host/tests/${{ github.head_ref || github.ref }}
sudo rm -rf /host/tests/${{ github.head_ref || github.ref }} || true
docker system prune -f -a --volumes || true