From 6031d40d4d861f114cc791998edd571459a6cc79 Mon Sep 17 00:00:00 2001 From: turnmanh <17703667+turnmanh@users.noreply.github.com> Date: Thu, 23 May 2024 22:25:05 +0200 Subject: [PATCH] added build arg --- .github/workflows/publish-ghcr.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish-ghcr.yaml b/.github/workflows/publish-ghcr.yaml index 6660421..4506dac 100644 --- a/.github/workflows/publish-ghcr.yaml +++ b/.github/workflows/publish-ghcr.yaml @@ -21,6 +21,7 @@ jobs: docker login --username ${{github.actor}} --password ${{github.token}} ghcr.io docker build ./.devcontainer -t ghcr.io/aai-institute/tfl-training-practical-anomaly-detection:latest docker push ghcr.io/aai-institute/tfl-training-practical-anomaly-detection:latest - env: - PARTICIPANT_BUCKET_READ_SECRET: "test-secret" + with: + build_args: + PARTICIPANT_BUCKET_READ_SECRET=${{ secrets.PARTICIPANT_BUCKET_READ_SECRET }}