diff --git a/.woodpecker.yml b/.woodpecker.yml index 1400cc9..bc31406 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -33,13 +33,14 @@ steps: dockerfile: apps/${SERVICE}/Dockerfile tags: - high-performance-latest + logins: + - registry: https://index.docker.io/v1/ + username: + from_secret: DOCKERHUB_USERNAME + password: + from_secret: DOCKERHUB_TOKEN username: from_secret: GHCR_USERNAME password: from_secret: GHCR_TOKEN platforms: linux/amd64 - - - - - diff --git a/apps/catering_services/Dockerfile b/apps/catering_services/Dockerfile index f372cc4..72f3196 100644 --- a/apps/catering_services/Dockerfile +++ b/apps/catering_services/Dockerfile @@ -15,7 +15,7 @@ ENV SQLX_OFFLINE=true ENV CARGO_BUILD_JOBS=2 RUN cargo build --release --bin catering_services -FROM debian:bookworm-slim AS runtime +FROM public.ecr.aws/debian/debian:bookworm-slim AS runtime RUN apt-get update && apt-get install -y \ ca-certificates \ diff --git a/apps/companies/Dockerfile b/apps/companies/Dockerfile index 2254ccf..b54bd05 100644 --- a/apps/companies/Dockerfile +++ b/apps/companies/Dockerfile @@ -15,7 +15,7 @@ ENV SQLX_OFFLINE=true ENV CARGO_BUILD_JOBS=2 RUN cargo build --release --bin companies -FROM debian:bookworm-slim AS runtime +FROM public.ecr.aws/debian/debian:bookworm-slim AS runtime RUN apt-get update && apt-get install -y \ ca-certificates \ diff --git a/apps/cron/Dockerfile b/apps/cron/Dockerfile index 76b9c7c..35c5f59 100644 --- a/apps/cron/Dockerfile +++ b/apps/cron/Dockerfile @@ -15,7 +15,7 @@ ENV SQLX_OFFLINE=true ENV CARGO_BUILD_JOBS=2 RUN cargo build --release --bin cron -FROM debian:bookworm-slim AS runtime +FROM public.ecr.aws/debian/debian:bookworm-slim AS runtime RUN apt-get update && apt-get install -y \ ca-certificates \ diff --git a/apps/customers/Dockerfile b/apps/customers/Dockerfile index 795b72f..ae22b52 100644 --- a/apps/customers/Dockerfile +++ b/apps/customers/Dockerfile @@ -15,7 +15,7 @@ ENV SQLX_OFFLINE=true ENV CARGO_BUILD_JOBS=2 RUN cargo build --release --bin customers -FROM debian:bookworm-slim AS runtime +FROM public.ecr.aws/debian/debian:bookworm-slim AS runtime RUN apt-get update && apt-get install -y \ ca-certificates \ diff --git a/apps/developers/Dockerfile b/apps/developers/Dockerfile index 383bcd9..c60d498 100644 --- a/apps/developers/Dockerfile +++ b/apps/developers/Dockerfile @@ -15,7 +15,7 @@ ENV SQLX_OFFLINE=true ENV CARGO_BUILD_JOBS=2 RUN cargo build --release --bin developers -FROM debian:bookworm-slim AS runtime +FROM public.ecr.aws/debian/debian:bookworm-slim AS runtime RUN apt-get update && apt-get install -y \ ca-certificates \ diff --git a/apps/employees/Dockerfile b/apps/employees/Dockerfile index a45b894..fec2a45 100644 --- a/apps/employees/Dockerfile +++ b/apps/employees/Dockerfile @@ -15,7 +15,7 @@ ENV SQLX_OFFLINE=true ENV CARGO_BUILD_JOBS=2 RUN cargo build --release --bin employees -FROM debian:bookworm-slim AS runtime +FROM public.ecr.aws/debian/debian:bookworm-slim AS runtime RUN apt-get update && apt-get install -y \ ca-certificates \ diff --git a/apps/fitness_trainers/Dockerfile b/apps/fitness_trainers/Dockerfile index 59fa1d3..59aa22a 100644 --- a/apps/fitness_trainers/Dockerfile +++ b/apps/fitness_trainers/Dockerfile @@ -15,7 +15,7 @@ ENV SQLX_OFFLINE=true ENV CARGO_BUILD_JOBS=2 RUN cargo build --release --bin fitness_trainers -FROM debian:bookworm-slim AS runtime +FROM public.ecr.aws/debian/debian:bookworm-slim AS runtime RUN apt-get update && apt-get install -y \ ca-certificates \ diff --git a/apps/gateway/Dockerfile b/apps/gateway/Dockerfile index 15b7a89..cb03a5a 100644 --- a/apps/gateway/Dockerfile +++ b/apps/gateway/Dockerfile @@ -15,7 +15,7 @@ ENV SQLX_OFFLINE=true ENV CARGO_BUILD_JOBS=2 RUN cargo build --release --bin gateway -FROM debian:bookworm-slim AS runtime +FROM public.ecr.aws/debian/debian:bookworm-slim AS runtime RUN apt-get update && apt-get install -y \ ca-certificates \ diff --git a/apps/graphic_designers/Dockerfile b/apps/graphic_designers/Dockerfile index 813cf0f..dbbada2 100644 --- a/apps/graphic_designers/Dockerfile +++ b/apps/graphic_designers/Dockerfile @@ -15,7 +15,7 @@ ENV SQLX_OFFLINE=true ENV CARGO_BUILD_JOBS=2 RUN cargo build --release --bin graphic_designers -FROM debian:bookworm-slim AS runtime +FROM public.ecr.aws/debian/debian:bookworm-slim AS runtime RUN apt-get update && apt-get install -y \ ca-certificates \ diff --git a/apps/job_seekers/Dockerfile b/apps/job_seekers/Dockerfile index e1fbd32..e071528 100644 --- a/apps/job_seekers/Dockerfile +++ b/apps/job_seekers/Dockerfile @@ -15,7 +15,7 @@ ENV SQLX_OFFLINE=true ENV CARGO_BUILD_JOBS=2 RUN cargo build --release --bin job_seekers -FROM debian:bookworm-slim AS runtime +FROM public.ecr.aws/debian/debian:bookworm-slim AS runtime RUN apt-get update && apt-get install -y \ ca-certificates \ diff --git a/apps/makeup_artists/Dockerfile b/apps/makeup_artists/Dockerfile index 2a7be48..d7876ce 100644 --- a/apps/makeup_artists/Dockerfile +++ b/apps/makeup_artists/Dockerfile @@ -15,7 +15,7 @@ ENV SQLX_OFFLINE=true ENV CARGO_BUILD_JOBS=2 RUN cargo build --release --bin makeup_artists -FROM debian:bookworm-slim AS runtime +FROM public.ecr.aws/debian/debian:bookworm-slim AS runtime RUN apt-get update && apt-get install -y \ ca-certificates \ diff --git a/apps/payments/Dockerfile b/apps/payments/Dockerfile index 9951cd9..7a67a95 100644 --- a/apps/payments/Dockerfile +++ b/apps/payments/Dockerfile @@ -15,7 +15,7 @@ ENV SQLX_OFFLINE=true ENV CARGO_BUILD_JOBS=2 RUN cargo build --release --bin payments -FROM debian:bookworm-slim AS runtime +FROM public.ecr.aws/debian/debian:bookworm-slim AS runtime RUN apt-get update && apt-get install -y \ ca-certificates \ diff --git a/apps/photographers/Dockerfile b/apps/photographers/Dockerfile index f71a587..9e1467a 100644 --- a/apps/photographers/Dockerfile +++ b/apps/photographers/Dockerfile @@ -15,7 +15,7 @@ ENV SQLX_OFFLINE=true ENV CARGO_BUILD_JOBS=2 RUN cargo build --release --bin photographers -FROM debian:bookworm-slim AS runtime +FROM public.ecr.aws/debian/debian:bookworm-slim AS runtime RUN apt-get update && apt-get install -y \ ca-certificates \ diff --git a/apps/social_media_managers/Dockerfile b/apps/social_media_managers/Dockerfile index 88f1d1c..b3313c3 100644 --- a/apps/social_media_managers/Dockerfile +++ b/apps/social_media_managers/Dockerfile @@ -15,7 +15,7 @@ ENV SQLX_OFFLINE=true ENV CARGO_BUILD_JOBS=2 RUN cargo build --release --bin social_media_managers -FROM debian:bookworm-slim AS runtime +FROM public.ecr.aws/debian/debian:bookworm-slim AS runtime RUN apt-get update && apt-get install -y \ ca-certificates \ diff --git a/apps/tutors/Dockerfile b/apps/tutors/Dockerfile index 899277a..69c02ec 100644 --- a/apps/tutors/Dockerfile +++ b/apps/tutors/Dockerfile @@ -15,7 +15,7 @@ ENV SQLX_OFFLINE=true ENV CARGO_BUILD_JOBS=2 RUN cargo build --release --bin tutors -FROM debian:bookworm-slim AS runtime +FROM public.ecr.aws/debian/debian:bookworm-slim AS runtime RUN apt-get update && apt-get install -y \ ca-certificates \ diff --git a/apps/ugc_content_creators/Dockerfile b/apps/ugc_content_creators/Dockerfile index aa2c383..cd3bfa1 100644 --- a/apps/ugc_content_creators/Dockerfile +++ b/apps/ugc_content_creators/Dockerfile @@ -15,7 +15,7 @@ ENV SQLX_OFFLINE=true ENV CARGO_BUILD_JOBS=2 RUN cargo build --release --bin ugc_content_creators -FROM debian:bookworm-slim AS runtime +FROM public.ecr.aws/debian/debian:bookworm-slim AS runtime RUN apt-get update && apt-get install -y \ ca-certificates \ diff --git a/apps/users/Dockerfile b/apps/users/Dockerfile index f277c10..6784eb4 100644 --- a/apps/users/Dockerfile +++ b/apps/users/Dockerfile @@ -15,7 +15,7 @@ ENV SQLX_OFFLINE=true ENV CARGO_BUILD_JOBS=2 RUN cargo build --release --bin users -FROM debian:bookworm-slim AS runtime +FROM public.ecr.aws/debian/debian:bookworm-slim AS runtime RUN apt-get update && apt-get install -y \ ca-certificates \ diff --git a/apps/video_editors/Dockerfile b/apps/video_editors/Dockerfile index e2801b9..4b353d5 100644 --- a/apps/video_editors/Dockerfile +++ b/apps/video_editors/Dockerfile @@ -15,7 +15,7 @@ ENV SQLX_OFFLINE=true ENV CARGO_BUILD_JOBS=2 RUN cargo build --release --bin video_editors -FROM debian:bookworm-slim AS runtime +FROM public.ecr.aws/debian/debian:bookworm-slim AS runtime RUN apt-get update && apt-get install -y \ ca-certificates \