Skip to content

Commit 37cee2e

Browse files
committed
try it this way
1 parent 0102c0d commit 37cee2e

4 files changed

Lines changed: 7 additions & 6 deletions

File tree

.github/workflows/build_multi_arch_image.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@ jobs:
135135
export BUILD_TIMESTAMP
136136
docker buildx imagetools create \
137137
--annotation "index:org.opencontainers.image.created=${BUILD_TIMESTAMP}" \
138+
--tag "ghcr.io/nhsdigital/eps-devcontainers/${CONTAINER_NAME}:${DOCKER_TAG}-${ARCHITECTURE}" \
138139
"ghcr.io/nhsdigital/eps-devcontainers/${CONTAINER_NAME}:${DOCKER_TAG}-${ARCHITECTURE}"
139140
env:
140141
DOCKER_TAG: ${{ inputs.docker_tag }}
@@ -178,6 +179,7 @@ jobs:
178179
--annotation "index:org.opencontainers.image.version=${DOCKER_TAG}" \
179180
--annotation "index:org.opencontainers.image.containerName=${CONTAINER_NAME}" \
180181
--annotation "index:org.opencontainers.image.created=${BUILD_TIMESTAMP}" \
182+
--annotation "index:org.opencontainers.image.authors=NHS England EPS Team" \
181183
--tag "ghcr.io/nhsdigital/eps-devcontainers/${CONTAINER_NAME}:${DOCKER_TAG}" \
182184
"ghcr.io/nhsdigital/eps-devcontainers/${CONTAINER_NAME}:${DOCKER_TAG}-amd64" \
183185
"ghcr.io/nhsdigital/eps-devcontainers/${CONTAINER_NAME}:${DOCKER_TAG}-arm64"

src/base/.devcontainer/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ LABEL org.opencontainers.image.description="EPS devcontainer ${CONTAINER_NAME}:$
1919
LABEL org.opencontainers.image.licenses=MIT
2020
LABEL org.opencontainers.image.version=${IMAGE_TAG}
2121
LABEL org.opencontainers.image.containerName=${CONTAINER_NAME}
22+
LABEL org.opencontainers.image.authors="NHS England EPS Team"
23+
LABEL org.opencontainers.image.base.image="mcr.microsoft.com/devcontainers/base:ubuntu-22.04"
24+
2225

2326

2427
COPY .tool-versions.asdf ${SCRIPTS_DIR}/${CONTAINER_NAME}/.tool-versions.asdf

src/common/Dockerfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,9 @@ ENV BASE_VERSION_TAG=${BASE_VERSION_TAG}
2020
ENV IMAGE_TAG=${IMAGE_TAG}
2121
ENV TARGETARCH=${TARGETARCH}
2222

23-
LABEL org.opencontainers.image.source=https://github.com/NHSDigital/eps-devcontainers
2423
LABEL org.opencontainers.image.description="EPS devcontainer ${CONTAINER_NAME}:${IMAGE_TAG}"
25-
LABEL org.opencontainers.image.licenses=MIT
2624
LABEL org.opencontainers.image.version=${IMAGE_TAG}
27-
LABEL org.opencontainers.image.baseImage=${BASE_IMAGE}
25+
LABEL org.opencontainers.image.base.name=${BASE_IMAGE}
2826
LABEL org.opencontainers.image.containerName=${CONTAINER_NAME}
2927

3028
USER root

src/projects/fhir_facade_api/.devcontainer/Dockerfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,9 @@ ENV BASE_VERSION_TAG=${BASE_VERSION_TAG}
1717
ENV IMAGE_TAG=${IMAGE_TAG}
1818
ENV TARGETARCH=${TARGETARCH}
1919

20-
LABEL org.opencontainers.image.source=https://github.com/NHSDigital/eps-devcontainers
2120
LABEL org.opencontainers.image.description="EPS devcontainer ${CONTAINER_NAME}:${IMAGE_TAG}"
22-
LABEL org.opencontainers.image.licenses=MIT
2321
LABEL org.opencontainers.image.version=${IMAGE_TAG}
24-
LABEL org.opencontainers.image.baseImage=${BASE_IMAGE}
22+
LABEL org.opencontainers.image.base.name=${BASE_IMAGE}
2523
LABEL org.opencontainers.image.containerName=${CONTAINER_NAME}
2624

2725
USER root

0 commit comments

Comments
 (0)