change docker registy.

This commit is contained in:
amass 2024-10-09 22:58:52 +08:00
parent e3bbfcb3c3
commit 4bb7eb122e
2 changed files with 4 additions and 4 deletions

View File

@ -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.

View File

@ -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