Skip to content

Commit

Permalink
Merge pull request #76 from OpenNetLab/dev
Browse files Browse the repository at this point in the history
Push alphartc image to Azure container registry (#75)
  • Loading branch information
Pterosaur authored Apr 20, 2021
2 parents f0de4f2 + 3a908fd commit d5f16e2
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 2 deletions.
16 changes: 14 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
12 changes: 12 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ pool:


steps:

- checkout: self

- script: make init
Expand Down Expand Up @@ -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"

0 comments on commit d5f16e2

Please sign in to comment.