|
@@ -16,16 +16,13 @@ jobs:
|
|
|
echo ::set-output name=tag::$tag
|
|
echo ::set-output name=tag::$tag
|
|
|
env:
|
|
env:
|
|
|
GITHUB_TAG: ${{ github.ref }}
|
|
GITHUB_TAG: ${{ github.ref }}
|
|
|
- - name: Set up Cloud SDK
|
|
|
|
|
- uses: google-github-actions/setup-gcloud@master
|
|
|
|
|
- with:
|
|
|
|
|
- project_id: ${{ secrets.GCP_PROJECT_ID }}
|
|
|
|
|
- service_account_key: ${{ secrets.GCP_SA_KEY }}
|
|
|
|
|
- export_default_credentials: true
|
|
|
|
|
- - name: Log in to gcloud CLI
|
|
|
|
|
- run: gcloud auth configure-docker
|
|
|
|
|
- name: Checkout
|
|
- name: Checkout
|
|
|
uses: actions/checkout@v2.3.4
|
|
uses: actions/checkout@v2.3.4
|
|
|
|
|
+ - name: Setup docker
|
|
|
|
|
+ uses: docker/login-action@v1
|
|
|
|
|
+ with:
|
|
|
|
|
+ username: ${{ secrets.DOCKERHUB_USERNAME }}
|
|
|
|
|
+ password: ${{ secrets.DOCKERHUB_TOKEN }}
|
|
|
- name: Write Dashboard Environment Variables
|
|
- name: Write Dashboard Environment Variables
|
|
|
run: |
|
|
run: |
|
|
|
cat >./dashboard/.env <<EOL
|
|
cat >./dashboard/.env <<EOL
|