build(deps-dev): bump basic-ftp from 5.0.5 to 5.2.0 in /frontend #98
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Docker Image CI - Frontend | |
| # This workflow will build a Docker image and push it to Azure Container Registry | |
| # It is triggered on push or pull request to the main branch | |
| on: | |
| push: | |
| branches: ["main"] | |
| pull_request: | |
| branches: ["main"] | |
| jobs: | |
| build-frontend: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Login to Azure Container Registry | |
| uses: azure/docker-login@v1 | |
| with: | |
| login-server: aigbbemea.azurecr.io | |
| username: ${{ secrets.ACR_USERNAME }} | |
| password: ${{ secrets.ACR_PASSWORD }} | |
| - name: Build and push Docker image | |
| uses: docker/build-push-action@v4 | |
| with: | |
| context: ./frontend | |
| file: ./frontend/Dockerfile | |
| push: true | |
| tags: | | |
| aigbbemea.azurecr.io/visionarylab-frontend:${{ github.run_number }} | |
| aigbbemea.azurecr.io/visionarylab-frontend:latest |