diff --git a/.github/workflows/build-images.yml b/.github/workflows/build-images.yml index 328d5c7..f18b0ff 100644 --- a/.github/workflows/build-images.yml +++ b/.github/workflows/build-images.yml @@ -20,7 +20,7 @@ jobs: aws-region: us-east-2 - name: Login to AWS ECR id: login-ecr - uses: aws-actions/amazon-ecr-login@v1 + uses: aws-actions/amazon-ecr-login@v2 - name: Build and push clowarden-dbmigrator image env: ECR_REGISTRY: ${{ steps.login-ecr.outputs.registry }} @@ -42,7 +42,7 @@ jobs: aws-region: us-east-2 - name: Login to AWS ECR id: login-ecr - uses: aws-actions/amazon-ecr-login@v1 + uses: aws-actions/amazon-ecr-login@v2 - name: Build and push clowarden server image env: ECR_REGISTRY: ${{ steps.login-ecr.outputs.registry }} diff --git a/clowarden-server/Dockerfile b/clowarden-server/Dockerfile index fb8bc1d..db286a0 100644 --- a/clowarden-server/Dockerfile +++ b/clowarden-server/Dockerfile @@ -19,7 +19,7 @@ RUN yarn install --network-concurrency 1 RUN yarn build # Final stage -FROM alpine:3.18.3 +FROM alpine:3.18.4 RUN apk --no-cache add ca-certificates && addgroup -S clowarden && adduser -S clowarden -G clowarden USER clowarden WORKDIR /home/clowarden diff --git a/database/migrations/Dockerfile b/database/migrations/Dockerfile index 09b2696..c4e41e4 100644 --- a/database/migrations/Dockerfile +++ b/database/migrations/Dockerfile @@ -4,7 +4,7 @@ RUN apk --no-cache add git RUN go install github.com/jackc/tern@latest # Build final image -FROM alpine:3.18.3 +FROM alpine:3.18.4 RUN addgroup -S clowarden && adduser -S clowarden -G clowarden USER clowarden WORKDIR /home/clowarden