Skip to content

build(deps): bump next from 13.5.6 to 14.1.1 (#213) #33

build(deps): bump next from 13.5.6 to 14.1.1 (#213)

build(deps): bump next from 13.5.6 to 14.1.1 (#213) #33

name: Deploy to test
permissions: read-all
on:
workflow_dispatch:
push:
branches:
- master
paths:
- '**.js*'
- '**.ts*'
- package*.json
- Dockerfile
- entrypoint.sh
- .github/workflows/deploy-to-test.yml
concurrency:
# Ensures that only one workflow task will run at a time. Previous builds, if
# already in process, will get cancelled. Only the latest commit will be allowed
# to run, cancelling any workflows in between
group: ${{ github.workflow }}-${{ github.job }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
build:

Check failure on line 26 in .github/workflows/cd-deploy-to-test.yml

View workflow run for this annotation

GitHub Actions / Deploy to test

Invalid workflow file

The workflow is not valid. .github/workflows/cd-deploy-to-test.yml (Line: 26, Col: 3): Error calling workflow 'ogticrd/cuenta-unica-registry/.github/workflows/sub-build-push-image.yml@25700b5aa641e8d85db2b0843838953cba289f63'. The nested job 'build' is requesting 'id-token: write', but is only allowed 'id-token: read'.
uses: ./.github/workflows/sub-build-push-image.yml
with:
environment: staging
dockerfile_path: ./Dockerfile
dockerfile_target: runner
app_name: ${{ vars.APP_NAME }}
registry: ${{ vars.GOOGLE_ARTIFACT_REGISTRY }}
secrets: inherit
deploy:
needs: [build]
uses: ./.github/workflows/sub-cloudrun-deploy.yml
with:
environment: staging
project_id: ${{ vars.GOOGLE_PROJECT_ID }}
region: ${{ vars.GOOGLE_CLOUD_REGION }}
app_name: ${{ vars.APP_NAME }}
image_digest: ${{ needs.build.outputs.image_digest }}
min_instances: '0'
max_instances: '5'
cpu: '1'
memory: 256Mi
secrets: inherit