diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index a3d25bf..39ec8b6 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -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. diff --git a/ubuntu2404.dockerfile b/ubuntu2404.dockerfile index 5ff29ee..7fa3f30 100644 --- a/ubuntu2404.dockerfile +++ b/ubuntu2404.dockerfile @@ -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 \ No newline at end of file