diff --git a/action.yml b/action.yml index 1629fa4..14e822e 100644 --- a/action.yml +++ b/action.yml @@ -11,7 +11,7 @@ runs: args: | -c "echo 'bootJar {archiveFileName = \"app.jar\"}' >> build.gradle && \ gradle build -x test -Dhttps.proxyHost=100.100.13.14 -Dhttps.proxyPort=8118 \ - -Dhttp.proxyHost=100.100.13.14 -Dhttp.proxyPort=8118" + -Dhttp.proxyHost=100.100.13.14 -Dhttp.proxyPort=8118 --info" - name: create dockerfile @@ -32,7 +32,7 @@ runs: with: entrypoint: "/bin/sh" args: | - -c 'docker build -t ${{vars.DOCKER_REGISTRY}}/${{github.repository}}:${{ github.ref_name }} . && \ + -c 'env && docker ps && docker info && 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 }} && \