diff --git a/.github/workflows/app.yml b/.github/workflows/app.yml index d65ba30..7f51727 100644 --- a/.github/workflows/app.yml +++ b/.github/workflows/app.yml @@ -55,18 +55,12 @@ jobs: docker build . --file Dockerfile --tag ${{ secrets.ACR_LOGIN_SERVER }}/$IMAGE_NAME:${{needs.versionize.outputs.semver}} docker build . --file Dockerfile --tag ${{ secrets.ACR_LOGIN_SERVER }}/$IMAGE_NAME:latest - - name: Az CLI login - id: login - uses: azure/login@v2 - with: - client-id: ${{ secrets.CALQUE_PRD_CLIENT_ID }} - tenant-id: ${{ secrets.CALQUE_PRD_TENANT_ID }} - subscription-id: ${{ secrets.CALQUE_PRD_SUBSCRIPTION_ID }} - - name: Login to ACR uses: azure/docker-login@v2 with: login-server: ${{ secrets.ACR_LOGIN_SERVER }} + username: ${{ secrets.ACR_USERNAME }} + password: ${{ secrets.ACR_PASSWORD }} - name: Push container images working-directory: src diff --git a/infrastructure/types.bicep b/infrastructure/types.bicep index f892c3f..768ff80 100644 --- a/infrastructure/types.bicep +++ b/infrastructure/types.bicep @@ -1,8 +1,12 @@ @export() type Context = { + @minLength(2) locationAbbreviation: string + @minLength(2) location: string + @minLength(3) environment: string + @minLength(2) projectName: string deployedAt: string }