You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using tag input (as listed here), the error below is experienced
Expected behavior
The revision to be tagged with the value supplied
Observed behavior Warning: Unexpected input(s) 'tag', valid inputs are ['image', 'service', 'region', 'env_vars', 'metadata', 'project_id', 'credentials'] Run google-github-actions/deploy-cloudrun@v0.2.0 with: service: *** image: gcr.io/***/*** credentials: *** tag: 0.1.1-rc.2 env: CLOUDSDK_METRICS_ENVIRONMENT: github-actions-setup-gcloud Setting project Id from credentials Creating a new service... Service *** has been successfully deployed. Error: The operation was canceled.
Reproduction
Action YAML
name: Stage application on Google Cloud Runon:
push:
tags:
- '*.*.*-rc.*'jobs:
deploy:
name: Deploy jobruns-on: ubuntu-lateststeps:
- name: Checkout the repositoryuses: actions/checkout@v1
- name: Build Docker imagerun: | docker build . --tag eu.gcr.io/${{ secrets.GCLOUD_PROJECT }}/${{ secrets.GCLOUD_APP_NAME }}
- name: Authenticate into Google Cloud Platformuses: google-github-actions/setup-gcloud@masterwith:
service_account_email: ${{ secrets.GCLOUD_EMAIL }}service_account_key: ${{ secrets.GCLOUD_AUTH }}
- name: Configure Docker to use Google Cloud Platformrun: "gcloud auth configure-docker --quiet"
- name: Push image to Google Cloud Container Registryrun: docker push eu.gcr.io/${{ secrets.GCLOUD_PROJECT }}/${{ secrets.GCLOUD_APP_NAME }}
- id: get_versionuses: battila7/get-version-action@v2
- name: Deploy to Cloud Runuses: google-github-actions/deploy-cloudrun@v0.2.0with:
service: ${{ secrets.GCLOUD_APP_NAME }}image: gcr.io/${{ secrets.GCLOUD_PROJECT }}/${{ secrets.GCLOUD_APP_NAME }}region: ${{ secrets.GCLOUD_REGION }}credentials: ${{ secrets.GCLOUD_AUTH }}tag: ${{ steps.get_version.outputs.version }}
Repository
Additional information
The text was updated successfully, but these errors were encountered:
Hi, @averikitsch
I tried to run the Github Actions using google-github-actions/deploy-cloudrun@v0.6.0 for setting environment variable with env_vars, but seems that env_vars is being ignored.
I'm doing this as follows:
TL;DR
When using
tag
input (as listed here), the error below is experiencedExpected behavior
The revision to be tagged with the value supplied
Observed behavior
Warning: Unexpected input(s) 'tag', valid inputs are ['image', 'service', 'region', 'env_vars', 'metadata', 'project_id', 'credentials'] Run google-github-actions/deploy-cloudrun@v0.2.0 with: service: *** image: gcr.io/***/*** credentials: *** tag: 0.1.1-rc.2 env: CLOUDSDK_METRICS_ENVIRONMENT: github-actions-setup-gcloud Setting project Id from credentials Creating a new service... Service *** has been successfully deployed. Error: The operation was canceled.
Reproduction
Action YAML
Repository
Additional information
The text was updated successfully, but these errors were encountered: