From 7817c99f5537b50c462a9bc828943c81471505ae Mon Sep 17 00:00:00 2001 From: danielxnj Date: Mon, 20 Nov 2023 20:06:59 -0500 Subject: [PATCH] Fix tailscale --- .github/workflows/pr-deploy.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/pr-deploy.yml b/.github/workflows/pr-deploy.yml index 2a3244439bddd..aaff44c9e0480 100644 --- a/.github/workflows/pr-deploy.yml +++ b/.github/workflows/pr-deploy.yml @@ -44,6 +44,20 @@ jobs: authkey: ${{ secrets.TAILSCALE_OAUTH_SECRET }} args: --advertise-tags tag:github-runner + - name: Login to Amazon ECR + id: aws-ecr + uses: aws-actions/amazon-ecr-login@v1 + + - name: Build and push container image + id: build + uses: depot/build-push-action@v1 + with: + buildx-fallback: false # the fallback is so slow it's better to just fail + push: true + tags: ${{ steps.aws-ecr.outputs.registry }}/pr-test:${{ github.sha }} + platforms: linux/arm64,linux/amd64 + build-args: COMMIT_HASH=${{ github.sha }} + - name: start deployment uses: bobheadxi/deployments@v1.4.0 id: deployment