ci: switch build images to AWS ECR Public

This commit is contained in:
M1 AIR
2026-03-09 09:45:58 +07:00
parent 3042b54577
commit 121c44070c
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -15,7 +15,7 @@ default:
# ========================================================== # ==========================================================
.build_template: &build_template .build_template: &build_template
stage: build stage: build
image: node:20-alpine image: public.ecr.aws/docker/library/node:20-alpine
cache: cache:
key: npm-cache key: npm-cache
paths: paths:
@@ -56,7 +56,7 @@ default:
.deploy_template: &deploy_template .deploy_template: &deploy_template
stage: deploy stage: deploy
image: image:
name: amazon/aws-cli:latest name: public.ecr.aws/aws-cli/aws-cli:latest
entrypoint: ['/bin/sh', '-c'] entrypoint: ['/bin/sh', '-c']
script: script:
- set -e - set -e
+1 -1
View File
@@ -1,4 +1,4 @@
FROM node:20-alpine FROM public.ecr.aws/docker/library/node:20-alpine
RUN apk add --no-cache git bash build-base curl RUN apk add --no-cache git bash build-base curl