Skip to content

Commit

Permalink
Merge pull request #66 from CybercentreCanada/build_path
Browse files Browse the repository at this point in the history
remove unneeded do
  • Loading branch information
cccs-rs authored Jul 26, 2021
2 parents 8c4f842 + cd81457 commit 100cdc8
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions pipelines/azure-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -135,14 +135,11 @@ stages:
until sudo env "PATH=$PATH" python -m pip download "assemblyline-v4-service==$TAG" --pre --no-deps &> /dev/null; do sleep 2; done
export IMAGE="cccs/assemblyline-v4-service-base"
do
docker build --build-arg version=$VERSION --build-arg branch=$BUILD_TYPE -t $IMAGE:$TAG -t $IMAGE:$SERIES docker
docker push $IMAGE --all-tags
done
docker build --build-arg version=$VERSION --build-arg branch=$BUILD_TYPE -t $IMAGE:$TAG -t $IMAGE:$SERIES docker
docker push $IMAGE --all-tags
export IMAGE="cccs/assemblyline-service-resultsample"
do
docker build --build-arg version=$VERSION --build-arg branch=$BUILD_TYPE -f assemblyline_result_sample_service/Dockerfile -t $IMAGE:$TAG -t $IMAGE:$SERIES .
docker push $IMAGE --all-tags
done
docker build --build-arg version=$VERSION --build-arg branch=$BUILD_TYPE -f assemblyline_result_sample_service/Dockerfile -t $IMAGE:$TAG -t $IMAGE:$SERIES .
docker push $IMAGE --all-tags
displayName: Deploy to Docker Hub

0 comments on commit 100cdc8

Please sign in to comment.