Skip to content

Commit

Permalink
feat: build docker base image from travis ci
Browse files Browse the repository at this point in the history
This will ensure staying up to date and should add some transparency how these images are made.
  • Loading branch information
byCedric committed Apr 14, 2019
1 parent 4e2fd4d commit 0ce8eff
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
19 changes: 19 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
language: bash
services:
- docker
env:
global:
- DOCKER_IMAGE=bycedric/expo-cli
- DOCKER_TAG=2
script:
- docker build base -t $DOCKER_IMAGE:$DOCKER_TAG
- docker run -ti --rm $DOCKER_IMAGE:$DOCKER_TAG diagnostics
before_deploy:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- docker tag $DOCKER_IMAGE:$DOCKER_TAG $DOCKER_IMAGE:latest
deploy:
provider: script
script: docker push $DOCKER_IMAGE:$DOCKER_TAG && docker push $DOCKER_IMAGE:latest
on:
branch: master
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM bycedric/ci-expo:2
FROM bycedric/expo-cli:2

LABEL com.github.actions.name="Expo CLI"
LABEL com.github.actions.description="Use any Expo CLI command in your GitHub Actions workflow."
Expand Down

0 comments on commit 0ce8eff

Please sign in to comment.