From b6a3f35b43d4b41de5a1a276a1679c3a20818cda Mon Sep 17 00:00:00 2001 From: Victor Miti Date: Tue, 2 Jul 2024 14:24:24 +0100 Subject: [PATCH] refactor: maintain linux/amd64 & linux/arm64 only, for now Error: No space left on device : '/home/runner/runners/2.317.0/_diag/ --- .github/workflows/build-docker-image.yml | 4 ++-- .github/workflows/publish-docker-image.yml | 5 +---- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-docker-image.yml b/.github/workflows/build-docker-image.yml index 7d5cf96..25e2f27 100644 --- a/.github/workflows/build-docker-image.yml +++ b/.github/workflows/build-docker-image.yml @@ -27,13 +27,13 @@ jobs: - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 with: - platforms: linux/amd64,linux/arm64,linux/arm/v5,linux/arm/v6,linux/arm/v7 + platforms: linux/amd64,linux/arm64 - name: Build the Docker image shell: bash run: | docker buildx build . \ - --platform linux/amd64,linux/arm64,linux/arm/v5,linux/arm/v6,linux/arm/v7 \ + --platform linux/amd64,linux/arm64 \ --file Dockerfile \ --tag engineervix/python-latex:${{ matrix.python-version }}-slim-${{ matrix.debian-version }}-$(date +'%Y%m%d%H%M%S') \ --build-arg PYTHON_VERSION=${{ matrix.python-version }} \ diff --git a/.github/workflows/publish-docker-image.yml b/.github/workflows/publish-docker-image.yml index 903c31c..1fa4cae 100644 --- a/.github/workflows/publish-docker-image.yml +++ b/.github/workflows/publish-docker-image.yml @@ -25,9 +25,6 @@ jobs: - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 - with: - platforms: linux/amd64,linux/arm64,linux/arm/v5,linux/arm/v6,linux/arm/v7 - - name: Log in to Docker Hub uses: docker/login-action@v3 @@ -47,7 +44,7 @@ jobs: uses: docker/build-push-action@v6 with: context: . - platforms: linux/amd64,linux/arm64,linux/arm/v5,linux/arm/v6,linux/arm/v7 + platforms: linux/amd64,linux/arm64 push: true tags: engineervix/python-latex:${{ matrix.python-version }}-slim-${{ matrix.debian-version }} labels: |