diff --git a/README.md b/README.md index d2d8320755..9529ed53f7 100644 --- a/README.md +++ b/README.md @@ -43,9 +43,21 @@ AlphaRTC replaces Google Congestion Control (GCC) with two customized congestion ## Environment -**We recommend you directly fetch the pre-provided Docker images from [Github release](https://github.com/OpenNetLab/AlphaRTC/releases/latest/download/alphartc.tar.gz)** +**We recommend you directly fetch the pre-provided Docker images from `opennetlab.azurecr.io/alphartc` or [Github release](https://github.com/OpenNetLab/AlphaRTC/releases/latest/download/alphartc.tar.gz)** -Ubuntu 18.04 is the only officially supported distro at this moment. For other distros, you may be able to compile your own binary, or use our pre-provided Docker images. +### From docker registry +``` bash +docker pull opennetlab.azurecr.io/alphartc +docker image tag opennetlab.azurecr.io/alphartc alphartc +``` + +### From github release +``` bash +wget https://github.com/OpenNetLab/AlphaRTC/releases/latest/download/alphartc.tar.gz +docker load -i alphartc.tar.gz +``` + +Ubuntu 18.04 or 20.04 is the only officially supported distro at this moment. For other distros, you may be able to compile your own binary, or use our pre-provided Docker images. ## Compilation diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 2e54a1aea7..1565276d5a 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -16,6 +16,7 @@ pool: steps: + - checkout: self - script: make init @@ -58,3 +59,14 @@ steps: changeLogCompareToRelease: 'lastFullRelease' changeLogType: 'commitBased' displayName: "Release target" + +- script: docker image tag alphartc:latest $(dockerRegistry)/alphartc:latest + displayName: 'Tag alphartc image' + +- task: Docker@2 + inputs: + containerRegistry: 'opennetlab Azure registry' + repository: 'alphartc' + command: 'push' + tags: 'latest' + displayName: "Push alphartc image"