mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Specify docker entry point and only run release on tags.
This commit is contained in:
parent
58334cf4ac
commit
806b39db02
@ -14,3 +14,5 @@ make solc && install -s solc/solc /usr/bin &&\
|
||||
cd / && rm -rf solidity &&\
|
||||
apk del sed build-base git make cmake gcc g++ musl-dev curl-dev boost-dev &&\
|
||||
rm -rf /var/cache/apk/*
|
||||
|
||||
ENTRYPOINT ["/usr/bin/solc"]
|
@ -10,13 +10,11 @@ then
|
||||
docker tag ethereum/solc:build ethereum/solc:nightly-"$version"-"$TRAVIS_COMMIT"
|
||||
docker push ethereum/solc:nightly-"$version"-"$TRAVIS_COMMIT";
|
||||
docker push ethereum/solc:nightly;
|
||||
elif [ "$TRAVIS_BRANCH" = "release" ]
|
||||
then
|
||||
docker tag ethereum/solc:build ethereum/solc:stable;
|
||||
docker push ethereum/solc:stable;
|
||||
elif [ "$TRAVIS_TAG" = v"$version" ]
|
||||
then
|
||||
docker tag ethereum/solc:build ethereum/solc:stable;
|
||||
docker tag ethereum/solc:build ethereum/solc:"$version";
|
||||
docker push ethereum/solc:stable;
|
||||
docker push ethereum/solc:"$version";
|
||||
else
|
||||
echo "Not publishing docker image from branch $TRAVIS_BRANCH or tag $TRAVIS_TAG"
|
||||
|
Loading…
Reference in New Issue
Block a user