Skip to content

Commit

Permalink
Add gcp commands
Browse files Browse the repository at this point in the history
  • Loading branch information
pemcne committed Aug 16, 2023
1 parent 79dbda6 commit 10bc51a
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,14 @@ jobs:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
labels: ${{ steps.meta.outputs.labels }}
update:
needs: build
runs-on: ubuntu-latest
steps:
- run: echo '${{ secrets.GCP_ACCOUNT }}' > sa.json
- uses: 'google-github-actions/auth@v1'
with:
credentials_json: ${{ secrets.GCP_ACCOUNT }}
- uses: 'google-github-actions/setup-gcloud@v1'
- run: gcloud compute instances reset bots --zone us-central1-c

0 comments on commit 10bc51a

Please sign in to comment.