From 08da1327c1df38f7e8b24f872995fdce4355a47c Mon Sep 17 00:00:00 2001 From: Alexander Bayandin Date: Sat, 29 Jun 2024 23:43:01 +0100 Subject: [PATCH] Pass AWS creds to docker build --- .github/workflows/build_and_test.yml | 2 ++ Dockerfile | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index 9cea9f4148..435bea2618 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -758,6 +758,8 @@ jobs: GIT_VERSION=${{ github.event.pull_request.head.sha || github.sha }} BUILD_TAG=${{ needs.tag.outputs.build-tag }} TAG=${{ needs.build-build-tools-image.outputs.image-tag }} + AWS_ACCESS_KEY_ID=${{ secrets.AWS_ACCESS_KEY_DEV }} + AWS_SECRET_ACCESS_KEY=${{ secrets.AWS_SECRET_KEY_DEV }} provenance: false push: true pull: true diff --git a/Dockerfile b/Dockerfile index 68f37ed02d..7eed417bcc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -35,8 +35,8 @@ ARG RUSTC_WRAPPER=sccache ARG SCCACHE_REGION=eu-central-1 ARG SCCACHE_S3_KEY_PREFIX=sccache ARG SCCACHE_BUCKET=neon-github-dev -#ARG AWS_ACCESS_KEY_ID -#ARG AWS_SECRET_ACCESS_KEY +ARG AWS_ACCESS_KEY_ID +ARG AWS_SECRET_ACCESS_KEY COPY --from=pg-build /home/nonroot/pg_install/v14/include/postgresql/server pg_install/v14/include/postgresql/server COPY --from=pg-build /home/nonroot/pg_install/v15/include/postgresql/server pg_install/v15/include/postgresql/server