https://github.com/makeomatic/ci-scripts
https://github.com/makeomatic/ci-scripts
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/makeomatic/ci-scripts
- Owner: makeomatic
- Created: 2016-09-30T09:52:48.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-11-07T18:44:40.000Z (over 9 years ago)
- Last Synced: 2025-01-05T00:24:49.677Z (about 1 year ago)
- Language: Shell
- Size: 14.6 KB
- Stars: 0
- Watchers: 7
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CI Scripts
This repository contains helper scripts useful for usage with CI systems.
## Installation
```
# install master
curl -sSL https://github.com/makeomatic/ci-scripts/raw/master/install.sh | sh -s
# install from a ref
curl -sSL https://github.com/makeomatic/ci-scripts/raw/master/install.sh | sh -s -- -r mycommit_tag_or_branch
# help
curl -sSL https://github.com/makeomatic/ci-scripts/raw/master/install.sh | sh -s -- -h
```
## Scripts
- **docker-build**
Builds a docker image and tags it using version tags from a label.
```
Usage: ./docker-build [-l version_tags] [-v variant] [-nh] image [docker-build-opts]
Builds and tags a docker image using version tags from a container label.
-l version_tags - specifies label which stores version tags (default: version_tags).
-v variant - specifies variant which is appended to versions (aka: image:16.04-variant).
-n - specifies whether not to tag the latest label.
-h - prints this help.
docker-build-options - a list of options passed to docker build, note that there's no need
to pass -t.
```