change docker registy.
This commit is contained in:
parent
e3bbfcb3c3
commit
4bb7eb122e
@ -22,10 +22,10 @@ jobs:
|
||||
with:
|
||||
files: |
|
||||
**.dockerfile
|
||||
- name: Log in to Docker Registry
|
||||
uses: docker/login-action@v2
|
||||
- name: Login to ACR
|
||||
uses: aliyun/acr-login@v1
|
||||
with:
|
||||
registry: registry.cn-shenzhen.aliyuncs.com
|
||||
login-server: https://registry.cn-shenzhen.aliyuncs.com
|
||||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||
- name: Build docker image and deploy.
|
||||
|
@ -86,5 +86,5 @@ ENV TERM=xterm-256color
|
||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
||||
CMD ["bash", "-c", "service ssh start && code-server --bind-addr 0.0.0.0:8087"]
|
||||
|
||||
# docker build --progress=tty -f ubuntu2404.dockerfile -t frp-by1.wwvvww.cn:45288/ubuntu_dev:24.04 .
|
||||
# docker build --progress=tty -f ubuntu2404.dockerfile -t registry.cn-shenzhen.aliyuncs.com/ubuntu_dev:24.04 .
|
||||
# docker push frp-by1.wwvvww.cn:45288/ubuntu_dev:24.04
|
Loading…
Reference in New Issue
Block a user