-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: build docker base image from travis ci
This will ensure staying up to date and should add some transparency how these images are made.
- Loading branch information
Showing
2 changed files
with
20 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters