forked from denoland/deno_docker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path-.travis.yml
25 lines (25 loc) · 2.87 KB
/
-.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
sudo: required
before_install:
- sudo apt-get update
services:
- docker
script:
- set -e
- echo "$DOCKER_PASSWORD" | docker login --username "$DOCKER_USERNAME" --password-stdin
- bash ./version.sh
- bash ./version.sh > version.txt && cat version.txt
- docker-compose build --build-arg DENO_VERSION=$(cat version.txt) jessie
- docker-compose build --build-arg DENO_VERSION=$(cat version.txt) slim
- docker-compose push jessie
- docker tag dockerimages/deno:jessie dockerimages/deno:jessie-$(cat version.txt)
- docker push dockerimages/deno:jessie-$(cat version.txt)
- docker tag dockerimages/deno:jessie dockerimages/deno:latest
- docker push dockerimages/deno:latest
- docker-compose push slim
- docker tag dockerimages/deno:slim dockerimages/deno:slim-$(cat version.txt)
- docker push dockerimages/deno:slim-$(cat version.txt)
env:
global:
- secure: aBkNQEwevRNEX2Y0ax+HiV8dOglvi7h0U0lU0MzQhv73MAgYKVtGx39+oSDaTjlGdLg2a9DHGYdya5ae6gTlSfsLdkPncPSQ5fd/xAhKJ6w7em/VdKk2Fxy3sc52xn2EQWcbJIETOjpMV7HS8Suq8FsDi96AjqCI0jPwphg3yH41FJ64YkjRQilvoIGxx5tcFaH1VK9S6Z2TTUwW4G2Cavit3EQ7DqnFRMDrxCjfGOdaCl9NO1mWTcc1CBbXMNZX8Hzfnwz/lDlTIrFpqRx3EJZ/EOw1ZRL/JZyTpYs6iJuvIAF2R1iv6WtZdu3jet3+J1SW37L78C+/uDnYDL24AdrIYSVvMcnJW0sweUgPeiWj6Y5jC0E27G4YjBqRQLHjK7wJJsicmt470jmBIENfdTpPJNA8/R7tDsXdBs6i9EKAc/PUJiGTqGBSmdpDFcbkGBF0lYtvGIaTQnZWJb3FA/n4xGOu7BvwbaOkHZ5xee2A2Wd9njz212vjFrxqNsmirA/c3b/aSV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