https://github.com/caseywebdev/docker-build-and-push
A simple script for building, tagging and pushing docker images
https://github.com/caseywebdev/docker-build-and-push
Last synced: over 1 year ago
JSON representation
A simple script for building, tagging and pushing docker images
- Host: GitHub
- URL: https://github.com/caseywebdev/docker-build-and-push
- Owner: caseywebdev
- Created: 2016-07-08T17:45:49.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-10-13T13:10:58.000Z (over 9 years ago)
- Last Synced: 2025-01-30T21:30:45.435Z (over 1 year ago)
- Language: Shell
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# docker-build-and-push
Do a clean build of a given `GITHUB_REPO` at a given `REF`
(branch/commit/tag/commitish), tag the image with the SHA1, and push to the
given `IMAGE_REPO`.
## Dependencies
The script requires `curl`, `jq` and `docker` to be available.
## Usage
```bash
curl -sSL \
https://github.com/caseywebdev/docker-build-and-push/raw/master/run.sh | \
REF=master \
GITHUB_REPO=user/repo \
IMAGE_REPO=quay.io/user/repo \
bash
```