Skip to content

fix: prevent the GetUsers API from producing giant responses #48

fix: prevent the GetUsers API from producing giant responses

fix: prevent the GetUsers API from producing giant responses #48

Workflow file for this run

name: Main
on:
push:
branches:
- main
env:
IMAGE_TAG: ${{ github.sha }}
REGISTRY_USERNAME: prereview
jobs:
deploy:
runs-on: ubuntu-20.04
steps:
- name: 'Checkout code'
uses: actions/checkout@v2
- name: 'Log in to Azure'
uses: azure/login@v1
with:
creds: ${{ secrets.AZURE_CREDENTIALS }}
- name: 'Deploy app'
uses: azure/webapps-deploy@v2
with:
app-name: 'prereview2'
slot-name: 'staging'
images: prereview.azurecr.io/prereview:${{ env.IMAGE_TAG }}
configuration-file: './deploy/docker-compose.yml'
tag:
runs-on: ubuntu-20.04
needs: deploy
continue-on-error: true
steps:
- name: 'Tag as latest'
uses: tinact/[email protected]
with:
image_name: 'prereview'
image_old_tag: ${{ env.IMAGE_TAG }}
image_new_tag: 'latest'
registry: 'prereview.azurecr.io'
registry_username: ${{ env.REGISTRY_USERNAME }}
registry_password: ${{ secrets.REGISTRY_PASSWORD }}