Dockerfile.alpine has all scripts from original Dockerfile, use for release builds

This commit is contained in:
Ethan Frey
2020-06-16 00:25:44 +02:00
parent e002f39b62
commit d6c3be9db4
9 changed files with 36 additions and 24 deletions

View File

@@ -197,12 +197,12 @@ jobs:
- setup_remote_docker
- run:
name: Build Docker artifact - demo
command: docker build --pull -t "cosmwasm/wasmd-demo:${CIRCLE_SHA1}" .
command: docker build --pull -t "cosmwasm/wasmd:${CIRCLE_SHA1}" . -f Dockerfile.alpine
- run:
name: Push application Docker image to docker hub
command: |
if [ "${CIRCLE_BRANCH}" = "master" ]; then
docker tag "cosmwasm/wasmd-demo:${CIRCLE_SHA1}" cosmwasm/wasmd-demo:latest
docker tag "cosmwasm/wasmd:${CIRCLE_SHA1}" cosmwasm/wasmd:latest
docker login --password-stdin -u "$DOCKER_USER" \<<<"$DOCKER_PASS"
docker push cosmwasm/wasmd-demo:latest
docker logout