From fe46f84f961abd61f7a61b91ae83eb9c7390c196 Mon Sep 17 00:00:00 2001 From: Jack Rubacha Date: Sat, 16 Mar 2024 20:12:44 -0400 Subject: [PATCH] fix dumb dumb --- .github/workflows/build_image.yml | 2 +- odysseus/Dockerfile | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build_image.yml b/.github/workflows/build_image.yml index 52aa2dd1..149f72d5 100644 --- a/.github/workflows/build_image.yml +++ b/.github/workflows/build_image.yml @@ -47,7 +47,7 @@ jobs: ODY_TPU_ROOT_PASSWORD: ${{ secrets.ODY_TPU_ROOT_PASSWORD }} ODY_IROH_ROOT_PASSWORD: ${{ secrets.ODY_IROH_ROOT_PASSWORD }} MASTER_PASSWORD: ${{ secrets.ODY_MASTER_PASSWORD }} - run: for i in ODY_AP_ROOT_PASSWORD ODY_TPU_ROOT_PASSWORD ODY_IROH_ROOT_PASSWORD; do echo "$i=${!i}" >> SECRETS.env; done && gpg --batch --symmetric --passphrase "$MASTER_PASSWORD" --cipher-algo AES256 SECRETS.env + run: for i in ODY_AP_ROOT_PASSWORD ODY_TPU_ROOT_PASSWORD ODY_IROH_ROOT_PASSWORD; do echo "$i=${!i}" >> SECRETS.env; done && gpg --batch --symmetric --passphrase "$MASTER_PASSWORD" --no-symkey-cache --cipher-algo AES256 SECRETS.env # This step uses the `docker/build-push-action` action to build the image, based on your repository's `Dockerfile`. If the build succeeds, it pushes the image to GitHub Packages. # It uses the `context` parameter to define the build's context as the set of files located in the specified path. For more information, see "[Usage](https://github.com/docker/build-push-action#usage)" in the README of the `docker/build-push-action` repository. # It uses the `tags` and `labels` parameters to tag and label the image with the output from the "meta" step. diff --git a/odysseus/Dockerfile b/odysseus/Dockerfile index e1819ebc..b1cac4b6 100644 --- a/odysseus/Dockerfile +++ b/odysseus/Dockerfile @@ -46,4 +46,7 @@ WORKDIR /home/odysseus/outputs/ COPY ./docker_scripts /home/odysseus/scripts RUN echo "source /home/odysseus/scripts/setup_env.sh" >> ~/.bashrc +# install password using wildcard so failures arent deadly +COPY ./SECRETS.env.* /home/odysseus/ + ENTRYPOINT "/bin/bash"