Skip to content
Permalink
6649402655
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
40 lines (31 sloc) 1.07 KB
version: 2
jobs:
build:
docker:
- image: debian:stretch
environment:
DOCKER_REPO: "luongbui/dart-vm_armv6"
TAG: "2.0.0-dev.55.0"
steps:
- run:
name: Install Docker
command: |
apt-get update
apt-get -y install apt-transport-https dirmngr
echo 'deb https://apt.dockerproject.org/repo debian-stretch main' >> /etc/apt/sources.list
apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys F76221572C52609D
apt-get update
apt-get -y install docker-engine
- checkout
- setup_remote_docker
- run:
name: Build Docker image with dart-vm binary
command: |
docker build --build-arg dart_version=$TAG --tag $DOCKER_REPO:$TAG .
docker login -u $DOCKER_USER -p $DOCKER_PASS
docker push $DOCKER_REPO:$TAG
- run:
name: Upload Docker image to Hub
command: |
docker login -u $DOCKER_USER -p $DOCKER_PASS
docker push $DOCKER_REPO:$TAG