Fix docker build

This commit is contained in:
Jordan Dominion
2024-08-14 22:46:01 -04:00
parent 6d41ffc17b
commit 8f348595fb
3 changed files with 20 additions and 3 deletions
+11 -1
View File
@@ -424,6 +424,8 @@ jobs:
runs-on: ubuntu-latest
needs: start-ci-run-gate
if: (!(cancelled() || failure()) && needs.start-ci-run-gate.result == 'success')
env:
TGS_TELEMETRY_KEY_FILE: tgs_telemetry_key.txt
steps:
- name: Checkout (Branch)
uses: actions/checkout@v4
@@ -435,8 +437,16 @@ jobs:
with:
ref: "refs/pull/${{ github.event.number }}/merge"
- name: Setup Telemetry Key File
shell: bash
run: echo "${{ secrets.TGS_TELEMETRY_KEY }}" > ${{ env.TGS_TELEMETRY_KEY_FILE }}
- name: Build Docker Image
run: docker build . -f build/Dockerfile
run: docker build . -f build/Dockerfile --build-arg TGS_TELEMETRY_KEY_FILE=${{ env.TGS_TELEMETRY_KEY_FILE }}
- name: Delete Telemetry Key File
if: always()
run: rm ${{ env.TGS_TELEMETRY_KEY_FILE }}
linux-unit-tests:
name: Linux Tests