Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/matti/buildtagpush
https://github.com/matti/buildtagpush
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/matti/buildtagpush
- Owner: matti
- Created: 2020-07-07T14:15:32.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-01-09T13:12:21.000Z (almost 2 years ago)
- Last Synced: 2024-08-03T01:38:06.350Z (4 months ago)
- Language: Shell
- Size: 16.6 KB
- Stars: 6
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-repositories - matti/buildtagpush - (Shell)
README
# buildtagpush
Image to build, tag and push docker images. Great for Google Cloud Build.
- BuildKit caching
- Pulls images needed (otherwise fails on google cloud build with registry mirror, see https://github.com/moby/moby/issues/40262#issuecomment-656036657)
- Easy to follow output with seconds since beginningA sample cloudbuild.yaml:
```
steps:
- name: mattipaksula/buildtagpush
env:
- "REGISTRY=gcr.io/your-project"
- "IMAGE=your-image"
- "TAG=[latest]"
- "CACHE_TAG=[$TAG]"
- "WORKDIR=[/workspace]"
- "DOCKERFILE=[Dockerfile]"
- "BUILD_OPTS=['']"
- "TRIES=[6]"
```