Skip to content

Commit d5f16e2

Browse files
authored
Merge pull request #76 from OpenNetLab/dev
Push alphartc image to Azure container registry (#75)
2 parents f0de4f2 + 3a908fd commit d5f16e2

File tree

2 files changed

+26
-2
lines changed

2 files changed

+26
-2
lines changed

README.md

+14-2
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,21 @@ AlphaRTC replaces Google Congestion Control (GCC) with two customized congestion
4343

4444
## Environment
4545

46-
**We recommend you directly fetch the pre-provided Docker images from [Github release](https://github.com/OpenNetLab/AlphaRTC/releases/latest/download/alphartc.tar.gz)**
46+
**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)**
4747

48-
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.
48+
### From docker registry
49+
``` bash
50+
docker pull opennetlab.azurecr.io/alphartc
51+
docker image tag opennetlab.azurecr.io/alphartc alphartc
52+
```
53+
54+
### From github release
55+
``` bash
56+
wget https://github.com/OpenNetLab/AlphaRTC/releases/latest/download/alphartc.tar.gz
57+
docker load -i alphartc.tar.gz
58+
```
59+
60+
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.
4961

5062
## Compilation
5163

azure-pipelines.yml

+12
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ pool:
1616

1717

1818
steps:
19+
1920
- checkout: self
2021

2122
- script: make init
@@ -58,3 +59,14 @@ steps:
5859
changeLogCompareToRelease: 'lastFullRelease'
5960
changeLogType: 'commitBased'
6061
displayName: "Release target"
62+
63+
- script: docker image tag alphartc:latest $(dockerRegistry)/alphartc:latest
64+
displayName: 'Tag alphartc image'
65+
66+
- task: Docker@2
67+
inputs:
68+
containerRegistry: 'opennetlab Azure registry'
69+
repository: 'alphartc'
70+
command: 'push'
71+
tags: 'latest'
72+
displayName: "Push alphartc image"

0 commit comments

Comments
 (0)