Skip to content

Commit

Permalink
fix(build): remove release gcp upload
Browse files Browse the repository at this point in the history
It was failing with this error:
Error: Can't find 'action.yml', 'action.yaml' or 'Dockerfile' under '/home/runner/work/_actions/GoogleCloudPlatform/github-actions/master/setup-gcloud'. Did you forget to run actions/checkout before running your local action?
  • Loading branch information
claymccoy authored Jan 31, 2022
1 parent d4467e3 commit da3dfb5
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,15 +85,3 @@ jobs:
- name: add release to plugin repo
run: |
curl -XPOST -u "${{ secrets.USERNAME }}:${{ secrets.TOKEN }}" -H "Accept: application/vnd.github.everest-preview+json" -H "Content-Type: application/json" https://api.github.com/repos/spinnaker-plugin-examples/examplePluginRepository/dispatches --data "{\"event_type\": \"onPluginRelease\", \"client_payload\": {\"org\": \"spinnaker-plugin-examples\", \"repo\": \"${{ steps.get_project_info.outputs.PROJECT }}\", \"released\": $(cat build/distributions/plugin-info.json)}}"
- name: setup gcloud
uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
with:
project_id: cloud-armory
service_account_key: ${{ secrets.GCP_KEY }}
export_default_credentials: true

- name: push image to registry
run: |
gcloud auth configure-docker -q
docker push gcr.io/cloud-armory/${{ steps.get_project_info.outputs.PROJECT_KEBAB }}:${{ steps.get_project_info.outputs.VERSION }}

0 comments on commit da3dfb5

Please sign in to comment.