From 6866383c6f7aa6137c042987fe5df809de722e8b Mon Sep 17 00:00:00 2001 From: Ilya Kreymer Date: Fri, 3 Feb 2023 10:49:17 -0800 Subject: [PATCH] ci: fix deploy script typo, ensure version is set --- .github/workflows/deploy-dev.yaml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy-dev.yaml b/.github/workflows/deploy-dev.yaml index 274aa51b..375f4b47 100644 --- a/.github/workflows/deploy-dev.yaml +++ b/.github/workflows/deploy-dev.yaml @@ -1,4 +1,4 @@ -name: Deploy to Dev Cluster +name: "*** Deploy to Dev Cluster ***" on: workflow_dispatch: @@ -36,7 +36,12 @@ jobs: with: context: frontend push: true - tags: ${{ secrets.DO_REGISTRY_PATH }}/btrix/webrecorder/browsertrix-frontend:latest + build-args: | + VERSION=${{ env.VERSION }} + GIT_COMMIT_HASH=${{ env.GIT_COMMIT_HASH }} + GIT_BRANCH_NAME=${{ env.GIT_BRANCH_NAME }} + + tags: ${{ secrets.DO_REGISTRY_PATH }}/webrecorder/browsertrix-frontend:latest cache-from: type=gha,scope=frontend cache-to: type=gha,scope=frontend,mode=max