diff options
| author | syeopite <70992037+syeopite@users.noreply.github.com> | 2021-08-09 22:34:52 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-09 22:34:52 -0700 |
| commit | 637a5cc14ff50f92d08a21bedd529442b8698f85 (patch) | |
| tree | 80906fac5de0e4a2384f89aad4cfcbda0589e3ec /.github | |
| parent | 81e77693b291db9d3b1aa18f330984fd284f7acf (diff) | |
| download | invidious-637a5cc14ff50f92d08a21bedd529442b8698f85.tar.gz invidious-637a5cc14ff50f92d08a21bedd529442b8698f85.tar.bz2 invidious-637a5cc14ff50f92d08a21bedd529442b8698f85.zip | |
Add CI for testing arm64 docker (#2315)
* Add CI for testing build of docker-arm64
* Add specs check to dockerfiles
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/ci.yml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 00302f28..fa6f9e33 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -91,3 +91,29 @@ jobs: - name: Test Docker run: while curl -Isf http://localhost:3000; do sleep 1; done + build-docker-arm64: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + + - name: Set up QEMU + uses: docker/setup-qemu-action@v1 + with: + platforms: arm64 + + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v1 + + - name: Build Docker ARM64 image + uses: docker/build-push-action@v2 + with: + context: . + file: docker/Dockerfile.arm64 + platforms: linux/arm64/v8 + + - name: Test Docker + run: while curl -Isf http://localhost:3000; do sleep 1; done + + |
