Skip to content

Commit

Permalink
fix: ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
lonnik committed Mar 21, 2024
1 parent e0114db commit e10c518
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,11 @@ jobs:
- name: Decode kubeconfig
run: |
echo "${{ secrets.LINODE_KUBECONFIG_BASE64 }}" | base64 -d > $HOME/kubeconfig.yaml
echo "KUBECONFIG_PATH=$HOME/kubeconfig.yaml" >> $GITHUB_ENV
echo "KUBECONFIG=$(echo ${{ secrets.LINODE_KUBECONFIG_BASE64 }} | base64 -d)" >> $GITHUB_ENV
- uses: azure/k8s-set-context@v4
with:
kubeconfig: ${{ env.KUBECONFIG_PATH }}
kubeconfig: ${{ env.KUBECONFIG }}

- name: Build the Docker Image
run: docker build -f Dockerfile.prod -t spaces-server:${{ github.sha }} --build-arg FIREBASE_SERVICE_ACCOUNT_KEY_BASE64="${{ secrets.FIREBASE_SERVICE_ACCOUNT_KEY_BASE64}}" .
Expand Down

0 comments on commit e10c518

Please sign in to comment.