update example #52
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
# Do not edit this file directly. It is generated by https://deno.land/x/fluent_github_actions | |
name: Zenith Example | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Dagger Zenith | |
run: | | |
curl -L https://dl.dagger.io/dagger/install.sh | DAGGER_VERSION=0.10.0 sh | |
sudo mv bin/dagger /usr/local/bin | |
dagger version | |
- name: Setup Service Account | |
run: echo $GCP_SERVICE_ACCOUNT > example/fluentci-086b644d4c53.json | |
env: | |
GCP_SERVICE_ACCOUNT: ${{ secrets.GCP_SERVICE_ACCOUNT }} | |
- name: Run Dagger Pipelines | |
run: | | |
dagger call init --src . --tf-version 1.7.3 --google-application-credentials ./fluentci-086b644d4c53.json | |
dagger call validate --src . --tf-version 1.7.3 | |
dagger call plan --src . --tf-version 1.7.3 --google-application-credentials ./fluentci-086b644d4c53.json | |
working-directory: example | |
env: | |
DAGGER_CLOUD_TOKEN: ${{ secrets.DAGGER_CLOUD_TOKEN }} |