From 186f5f814d30065918ceccb10cb3a57358891d37 Mon Sep 17 00:00:00 2001 From: Joseph Yi Date: Thu, 11 Jan 2024 14:38:05 -0800 Subject: [PATCH] feat: also pass tokens as build secrets --- build-docker/action.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build-docker/action.yaml b/build-docker/action.yaml index 1b6883a..f5c108a 100644 --- a/build-docker/action.yaml +++ b/build-docker/action.yaml @@ -99,3 +99,7 @@ runs: push: true tags: ${{ steps.config.outputs.image-name }}:${{ inputs.image-version }} labels: ${{ steps.meta.outputs.labels }} + secrets: | + ARTIFACTORY_USERNAME=${{ inputs.ARTIFACTORY_USERNAME }} + ARTIFACTORY_AUTH_TOKEN=${{ inputs.ARTIFACTORY_AUTH_TOKEN }} + GITHUB_TOKEN=${{ inputs.github-token }}