代码拉取完成,页面将自动刷新
language: node_js
dist: trusty
if: tag IS present
env:
- TOOL_VERSION=$TRAVIS_TAG
before_script:
- echo "JAVA_HOME=/usr/local/openjdk-8" > .env
- echo "WORKING_DIR=/tmp" >> .env
- echo "ASN1_COMPILER_JAR=/usr/src/app/asn1-compiler-with-google-java-format.jar" >> .env
- echo "ASN1_CONVERTER_JAR=/usr/src/app/asn1-converter.jar" >> .env
- echo "ASN1_RUNTIME_JAR=/usr/src/app/asn1-runtime.jar" >> .env
- echo "VERSION=$TRAVIS_TAG" >> .env
- wget https://github.com/yafred/asn1-tool/releases/download/$TOOL_VERSION/asn1-compiler-with-google-java-format.jar
- wget https://github.com/yafred/asn1-tool/releases/download/$TOOL_VERSION/asn1-converter.jar
- wget https://github.com/yafred/asn1-tool/releases/download/$TOOL_VERSION/asn1-runtime.jar
script:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- docker build -t "$DOCKER_USERNAME"/asn1-playground .
- docker tag "$DOCKER_USERNAME"/asn1-playground "$DOCKER_USERNAME"/asn1-playground:"$TRAVIS_TAG"
- docker images
- docker push "$DOCKER_USERNAME"/asn1-playground
- docker push "$DOCKER_USERNAME"/asn1-playground:"$TRAVIS_TAG"
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。