add stable sort to helm dependencies #176
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: plural-ci | |
on: | |
push: | |
branches: [ master ] | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: 'read' | |
id-token: 'write' | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: google-github-actions/auth@v1 | |
with: | |
workload_identity_provider: 'projects/${{ secrets.GOOGLE_PROJECT_ID }}/locations/global/workloadIdentityPools/github/providers/github' | |
service_account: '[email protected]' | |
token_format: 'access_token' | |
create_credentials_file: true | |
- uses: google-github-actions/[email protected] | |
- name: Login to gcr | |
run: gcloud auth configure-docker -q | |
- name: Login to plural registry | |
uses: docker/login-action@v2 | |
with: | |
registry: dkr.plural.sh | |
username: [email protected] | |
password: ${{ secrets.PLURAL_ACCESS_TOKEN }} | |
- run: make build | |
- run: make push | |
publish-cloud: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: 'read' | |
id-token: 'write' | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: google-github-actions/auth@v1 | |
with: | |
workload_identity_provider: 'projects/${{ secrets.GOOGLE_PROJECT_ID }}/locations/global/workloadIdentityPools/github/providers/github' | |
service_account: '[email protected]' | |
token_format: 'access_token' | |
create_credentials_file: true | |
- uses: google-github-actions/[email protected] | |
- name: Login to gcr | |
run: gcloud auth configure-docker -q | |
- name: Login to plural registry | |
uses: docker/login-action@v2 | |
with: | |
registry: dkr.plural.sh | |
username: [email protected] | |
password: ${{ secrets.PLURAL_ACCESS_TOKEN }} | |
- run: make build-cloud | |
- run: make push-cloud | |
# deploy: | |
# runs-on: ubuntu-latest | |
# if: github.ref == 'refs/heads/master' | |
# steps: | |
# - uses: actions/checkout@v2 | |
# - uses: actions/setup-go@v2 | |
# with: | |
# go-version: '^1.17.1' | |
# - uses: hashicorp/setup-terraform@v1 | |
# - uses: azure/setup-helm@v1 | |
# with: | |
# version: latest | |
# - name: installing plural | |
# uses: pluralsh/[email protected] | |
# with: | |
# config: ${{ secrets.PLURAL_CONF }} | |
# - run: plural apply |