Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add cloud shell image CD #427

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .github/workflows/goreleaser-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -233,3 +233,16 @@ jobs:
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: 'trivy-results.sarif'
push:
runs-on: ubuntu-latest
needs: publish
steps:
- name: Checkout
uses: actions/checkout@v3
- name: installing plural
uses: pluralsh/setup-plural@v0.1.5
with:
config: ${{ secrets.PLURAL_CONF }}
vsn: 0.6.28
- name: deploy to plural
run: cat upgrade.yaml | REF_NAME=${GITHUB_REF_NAME#v} envsubst | plural upgrade plural plural -f -
7 changes: 7 additions & 0 deletions upgrade.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
message: updating cloud shell image to $GITHUB_REF_NAME
type: CONFIG
config:
paths:
- path: .plural.secrets.cloud_shell_img
value: ghcr.io/pluralsh/plural-cli-cloud:${REF_NAME}
type: STRING
Loading