File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -119,7 +119,7 @@ jobs:
119119 - name : Generate artifact attestation
120120 uses : actions/attest-build-provenance@v3
121121 with :
122- subject-name : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME_MAIN}}
122+ subject-name : ${{ env.REGISTRY }}/os2display-api-service
123123 subject-digest : ${{ steps.push-main.outputs.digest }}
124124 push-to-registry : true
125125
@@ -140,6 +140,7 @@ jobs:
140140 file : ./infrastructure/nginx/Dockerfile
141141 build-args : |
142142 APP_VERSION=${{ github.ref_name }}
143+ APP_IMAGE=${{ env.IMAGE_NAME_MAIN }}
143144 push : true
144145 pull : true
145146 tags : ${{ steps.meta-nginx.outputs.tags }}
Original file line number Diff line number Diff line change @@ -12,17 +12,18 @@ docker buildx build \
1212 --no-cache \
1313 --pull \
1414 --build-arg APP_VERSION=${APP_VERSION} \
15- --tag=ghcr.io/itk-dev/display -api-service:${APP_VERSION} \
15+ --tag=ghcr.io/itk-dev/os2display -api-service:${APP_VERSION} \
1616 --file=" display-api-service/Dockerfile" ../
1717
18- docker push ghcr.io/itk-dev/display -api-service:${APP_VERSION}
18+ docker push ghcr.io/itk-dev/os2display -api-service:${APP_VERSION}
1919
2020docker buildx build \
2121 --platform linux/amd64,linux/arm64 \
2222 --no-cache \
2323 --pull \
2424 --build-arg APP_VERSION=${APP_VERSION} \
25- --tag=ghcr.io/itk-dev/display-api-service-nginx:${APP_VERSION} \
25+ --build-arg APP_IMAGE=os2display-api-service \
26+ --tag=ghcr.io/itk-dev/os2display-api-service-nginx:${APP_VERSION} \
2627 --file=" nginx/Dockerfile" nginx
2728
28- docker push ghcr.io/itk-dev/display -api-service-nginx:${APP_VERSION}
29+ docker push ghcr.io/itk-dev/os2display -api-service-nginx:${APP_VERSION}
Original file line number Diff line number Diff line change 11ARG APP_VERSION="develop"
2+ ARG APP_IMAGE="os2display-api-service"
23
3- FROM --platform=$BUILDPLATFORM ghcr.io/itk-dev/display -api-service:${APP_VERSION} AS app
4+ FROM --platform=$BUILDPLATFORM ghcr.io/itk-dev/os2display -api-service:${APP_VERSION} AS app
45
56
67# ####### Nginx production image ########
You can’t perform that action at this time.
0 commit comments