Skip to content

cambiando al acr

cambiando al acr #49

name: Subir Dockerfiles
on:
push:
branches:
- main
- develop
jobs:
subirDocker:
uses: stemdo-labs/final-project-exercise-ValentinoSanchez00/.github/workflows/SubirDockerfiles.yaml@main

Check failure on line 11 in .github/workflows/SubirDockerfile.yaml

View workflow run for this annotation

GitHub Actions / Subir Dockerfiles

Invalid workflow file

The workflow is not valid. In .github/workflows/SubirDockerfile.yaml (Line: 11, Col: 11): Error from called workflow stemdo-labs/final-project-exercise-ValentinoSanchez00/.github/workflows/SubirDockerfiles.yaml@main (Line: 64, Col: 18): Unrecognized named-value: 'env'. Located at position 1 within expression: env.ENVIRONMENT
with:
MICROSERVICE: "frontend"
DB_HOST: ${{ vars.DB_HOST }}
DB_PORT: ${{ vars.DB_PORT }}
secrets:
ARM_CLIENT_ID: ${{ secrets.ARM_CLIENT_ID }}
ARM_CLIENT_SECRET: ${{ secrets.ARM_CLIENT_SECRET }}
ARM_TENANT_ID: ${{ secrets.ARM_TENANT_ID }}
ARM_SUBSCRIPTION_ID: ${{ secrets.ARM_SUBSCRIPTION_ID }}
DB_NAME: ${{ secrets.DB_NAME }}
DB_USER: ${{ secrets.DB_USER }}
DB_PASSWORD: ${{ secrets.DB_PASSWORD }}
flujoCD:
needs: subirDocker
uses: ./.github/workflows/principal.yaml
with:
MICROSERVICE: "frontend"
VERSION_CHART: "0.2.1"
ENVIROMENT: ${{ github.ref == 'refs/heads/main' && 'production' || 'develop' }}
secrets:
ARM_CLIENT_ID: ${{ secrets.ARM_CLIENT_ID }}
ARM_CLIENT_SECRET: ${{ secrets.ARM_CLIENT_SECRET }}
ARM_TENANT_ID: ${{ secrets.ARM_TENANT_ID }}
ARM_SUBSCRIPTION_ID: ${{ secrets.ARM_SUBSCRIPTION_ID }}
HARBOR_PASSWORD : ${{ secrets.HARBOR_PASSWORD }}