Skip to content

Commit

Permalink
Merge pull request #1290 from alphagov/dj-maisy/arm_sidecar_images
Browse files Browse the repository at this point in the history
Enable ARM builds for "sidecar" images.
  • Loading branch information
dj-maisy authored May 8, 2024
2 parents d3a0166 + 1dac586 commit b96c2a3
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-clamav-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ on:

jobs:
build-and-push-image:
uses: alphagov/govuk-infrastructure/.github/workflows/build-and-push-image.yml@main
uses: alphagov/govuk-infrastructure/.github/workflows/build-and-push-multiarch-image.yml@main
with:
gitRef: ${{ inputs.gitRef || github.ref }}
ecrRepositoryName: clamav
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-mongodb-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ on:

jobs:
build-and-push-image:
uses: alphagov/govuk-infrastructure/.github/workflows/build-and-push-image.yml@main
uses: alphagov/govuk-infrastructure/.github/workflows/build-and-push-multiarch-image.yml@main
with:
gitRef: ${{ inputs.gitRef || github.ref }}
ecrRepositoryName: mongodb
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-toolbox-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ on:

jobs:
build-and-push-image:
uses: alphagov/govuk-infrastructure/.github/workflows/build-and-push-image.yml@main
uses: alphagov/govuk-infrastructure/.github/workflows/build-and-push-multiarch-image.yml@main
with:
gitRef: ${{ inputs.gitRef || github.ref }}
ecrRepositoryName: toolbox
Expand Down
2 changes: 1 addition & 1 deletion images/clamav/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM clamav/clamav-debian:1.2
FROM --platform=$TARGETPLATFORM clamav/clamav-debian:1.2

COPY "./images/clamav/scripts/unprivileged-entrypoint.sh" "/unpriv-init"

Expand Down
2 changes: 1 addition & 1 deletion images/mongodb/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM public.ecr.aws/lts/ubuntu:22.04
FROM --platform=$TARGETPLATFORM public.ecr.aws/lts/ubuntu:22.04
SHELL ["/bin/bash", "-euo", "pipefail", "-c"]

ENV MONGO_VERSION 2.6.12
Expand Down
2 changes: 1 addition & 1 deletion images/toolbox/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM public.ecr.aws/lts/ubuntu:22.04
FROM --platform=$TARGETPLATFORM public.ecr.aws/lts/ubuntu:22.04
ARG TARGETARCH
SHELL ["/bin/bash", "-euo", "pipefail", "-c"]

Expand Down

0 comments on commit b96c2a3

Please sign in to comment.