diff --git a/.gitea/workflows/Scan.yaml b/.gitea/workflows/Scan.yaml index b2bb0c9..fe27ec4 100644 --- a/.gitea/workflows/Scan.yaml +++ b/.gitea/workflows/Scan.yaml @@ -1,15 +1,20 @@ name: Testing with devbox on: push +env: + # DOCKER_REGISTRY: docker.io + # DOCKER_USERNAME: softyouling + # 此处可修改为你任意 docker 镜像仓库地址和用户名 + DOMAIN: gitea.lntu.edu.cn jobs: test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: https://${{ env.DOMAIN }}/actions/checkout@v4 - name: Install devbox - uses: jetify-com/devbox-install-action@v0.9.0 + uses: https://${{ env.DOMAIN }}/actions/devbox-install-action@v0.9.0 - name: Run arbitrary commands run: devbox run -- echo "done!"