2 Commits
13.0 ... 15.0

Author SHA1 Message Date
54b179e80f fix ci 2024-06-16 01:57:20 +08:00
c6ca641436 fix output-path 2023-08-27 04:32:29 +08:00

View File

@ -9,7 +9,7 @@ runs:
entrypoint: "/bin/bash"
args: |
-c "npm install && \
npm run build -- --outputPath=dist"
npm run build -- --output-path=dist"
- uses: docker://ubuntu:latest
with:
@ -25,8 +25,8 @@ runs:
with:
entrypoint: "/bin/sh"
args: |
-c 'docker build -t ${{env.DOCKER_REGISTRY}}/${{github.repository}}:${{ github.ref_name }} . && \
echo ${{env.DOCKER_REGISTRY}}/${{github.repository}}:${{ github.ref_name }}已经构建完了 && \
docker login ${{env.DOCKER_REGISTRY}} -u ${{env.DOCKER_USER}} -p ${{env.DOCKER_PASS}} && \
docker push ${{env.DOCKER_REGISTRY}}/${{github.repository}}:${{ github.ref_name }} && \
echo ${{env.DOCKER_REGISTRY}}/${{github.repository}}:${{ github.ref_name }}推送成功'
-c 'docker build -t ${{vars.DOCKER_REGISTRY}}/${{github.repository}}:${{ github.ref_name }} . && \
echo ${{vars.DOCKER_REGISTRY}}/${{github.repository}}:${{ github.ref_name }}已经构建完了 && \
docker login ${{vars.DOCKER_REGISTRY}} -u ${{vars.DOCKER_USER}} -p ${{vars.DOCKER_PASS}} && \
docker push ${{vars.DOCKER_REGISTRY}}/${{github.repository}}:${{ github.ref_name }} && \
echo ${{vars.DOCKER_REGISTRY}}/${{github.repository}}:${{ github.ref_name }}推送成功'