Skip to content

Commit

Permalink
refactor: maintain linux/amd64 & linux/arm64 only, for now
Browse files Browse the repository at this point in the history
Error: No space left on device : '/home/runner/runners/2.317.0/_diag/
  • Loading branch information
engineervix committed Jul 2, 2024
1 parent 1f489ed commit b6a3f35
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }} \
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/publish-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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: |
Expand Down

0 comments on commit b6a3f35

Please sign in to comment.