Skip to content

Commit

Permalink
feat: add support to arm/v7 and arm/v8 images
Browse files Browse the repository at this point in the history
Include support to arm/v7 and arm/v8 container images.

It includes Apple M processors.

Signed-off-by: Kairo Araujo <[email protected]>
  • Loading branch information
kairoaraujo committed Feb 7, 2024
1 parent 331e7e7 commit 70e190c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish_container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
with:
context: .
push: true
platforms: linux/amd64,linux/arm64
platforms: linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v8
tags: |
ghcr.io/repository-service-tuf/repository-service-tuf-worker:${{ inputs.image_version }}
build-args: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish_docker_dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
with:
context: .
push: true
platforms: linux/amd64,linux/arm64
platforms: linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v8
tags: |
ghcr.io/repository-service-tuf/repository-service-tuf-worker:dev
build-args: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_docker_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
with:
context: .
push: false
platforms: linux/amd64,linux/arm64
platforms: linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v8
tags: |
ghcr.io/repository-service-tuf/repository-service-tuf-worker:test
build-args: |
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ ENV PYTHONDONTWRITEBYTECODE=1
ADD requirements.txt /builder/requirements.txt

WORKDIR /builder
RUN apt-get update && apt-get install gcc libpq-dev -y
RUN apt-get update && apt-get install gcc libpq-dev libffi-dev build-essential -y
RUN pip install --upgrade pip && pip install --user -r requirements.txt
RUN apt-get remove gcc --purge -y \
&& rm -rf /var/lib/apt/lists/* \
Expand Down

0 comments on commit 70e190c

Please sign in to comment.