Give up on ARMv7 builds for now
parent
97071eb5e8
commit
72eb2b7281
|
@ -362,47 +362,34 @@ jobs:
|
||||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||||
|
|
||||||
# Work around https://github.com/docker/buildx/issues/395
|
# Work around https://github.com/docker/buildx/issues/395 (this causes "no space left on device")
|
||||||
# - name: create small fs for docker cache
|
# - name: Run Docker on tmpfs
|
||||||
# run: |
|
# uses: JonasAlfredsson/docker-on-tmpfs@v1
|
||||||
# df -h
|
|
||||||
# sudo swapon --show
|
|
||||||
# sudo dd if=/dev/zero of=/swapfile1 bs=1M count=6K
|
|
||||||
# sudo chmod 600 /swapfile1
|
|
||||||
# sudo mkswap /swapfile1
|
|
||||||
# sudo swapon /swapfile1
|
|
||||||
# sudo swapon --show
|
|
||||||
# sudo free -h
|
|
||||||
# sudo systemctl stop docker
|
|
||||||
# sudo mount -t tmpfs -o size=9G tmpfs /var/lib/docker
|
|
||||||
# df -h
|
|
||||||
# sudo systemctl start docker
|
|
||||||
- name: Run Docker on tmpfs
|
|
||||||
uses: JonasAlfredsson/docker-on-tmpfs@v1
|
|
||||||
with:
|
|
||||||
tmpfs_size: 5
|
|
||||||
swap_size: 4
|
|
||||||
|
|
||||||
# - name: Build and push (alpine)
|
|
||||||
# uses: docker/build-push-action@v3
|
|
||||||
# with:
|
# with:
|
||||||
# context: .
|
# tmpfs_size: 5
|
||||||
# platforms: |
|
# swap_size: 4
|
||||||
# linux/arm64
|
|
||||||
# linux/amd64
|
- name: Build and push (alpine)
|
||||||
# push: true
|
uses: docker/build-push-action@v3
|
||||||
# file: Dockerfile.alpine
|
with:
|
||||||
# tags: ${{ steps.meta-alpine.outputs.tags }}
|
context: .
|
||||||
# labels: ${{ steps.meta-alpine.outputs.labels }}
|
platforms: |
|
||||||
# cache-from: type=gha
|
linux/arm64
|
||||||
# cache-to: type=gha,mode=max
|
linux/amd64
|
||||||
|
push: true
|
||||||
|
file: Dockerfile.alpine
|
||||||
|
tags: ${{ steps.meta-alpine.outputs.tags }}
|
||||||
|
labels: ${{ steps.meta-alpine.outputs.labels }}
|
||||||
|
cache-from: type=gha
|
||||||
|
cache-to: type=gha,mode=max
|
||||||
|
|
||||||
- name: Build and push
|
- name: Build and push
|
||||||
uses: docker/build-push-action@v3
|
uses: docker/build-push-action@v3
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
|
# Disabled due to https://github.com/docker/buildx/issues/395
|
||||||
|
# linux/arm/v7
|
||||||
platforms: |
|
platforms: |
|
||||||
linux/arm/v7
|
|
||||||
linux/arm64
|
linux/arm64
|
||||||
linux/amd64
|
linux/amd64
|
||||||
push: true
|
push: true
|
||||||
|
|
Loading…
Reference in New Issue