Skip to content

Commit

Permalink
try new docker build steps in az devops pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
jgbradley1 authored Jun 2, 2024
1 parent e813f99 commit ed8c594
Showing 1 changed file with 16 additions and 14 deletions.
30 changes: 16 additions & 14 deletions .azdo/azure-pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,22 @@ pool:
vmImage: ubuntu-latest

steps:
- task: Docker@2
displayName: Build backend docker image
inputs:
command: build
repository: backend
Dockerfile: $(Build.SourcesDirectory)/docker/Dockerfile-backend
tags: latest
- task: Docker@2
displayName: Build frontend docker image
inputs:
command: build
repository: frontend
Dockerfile: $(Build.SourcesDirectory)/docker/Dockerfile-frontend
tags: latest
# - task: Docker@2
# displayName: Build backend docker image
# inputs:
# command: build
# repository: backend
# Dockerfile: $(Build.SourcesDirectory)/docker/Dockerfile-backend
# tags: latest
# - task: Docker@2
# displayName: Build frontend docker image
# inputs:
# command: build
# repository: frontend
# Dockerfile: $(Build.SourcesDirectory)/docker/Dockerfile-frontend
# tags: latest
- script: docker build -t graphrag:backend -f docker/Dockerfile-backend .
- script: docker build -t graphrag:frontend -f docker/Dockerfile-frontend .
# Component Governance does not support pyproject.toml yet.
# For that reason, use toml-to-requirements to export the
# dependencies into a requirements.txt file.
Expand Down

0 comments on commit ed8c594

Please sign in to comment.