- Notifications
You must be signed in to change notification settings - Fork4
🛠️ Docker image with CI/CD tools
License
NotificationsYou must be signed in to change notification settings
ueberdosis/build-tools
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Docker image with useful CI/CD tools optimized for use in GitLab CI pipelines.
- bash
- curl
- Docker
- Docker Buildx
- Docker Compose
- git
- openssl
- regctl (for advanced image handling)
- rsync
- sshpass (for SSH servers with password authentication)
- trivy
Docker
Include the image via thedefault.image keyword in your.gitlab-ci.yml
:
default:image:ueberdosis/build-tools:0.65.0
SpecifyCOMPOSE_FILE
if different from the default:docker-compose.yml
. SeeDocker Compose documentation for more details.
build_app:variables:COMPOSE_FILE:docker-compose.build.ymlstage:buildscript: -docker-compose build app -docker-compose push app
Adjust the image-name and tag after copying the command to your.gitlab-ci.yml
. Seetrivy documentation for more details.
container_scan:script: -| trivy image \ --severity HIGH,CRITICAL \ --ignore-unfixed \ --exit-code 1 \ registry.gitlab.com/your-repository-path/your-image-name:your-tag
To release a new version on Docker Hub run:
export VERSION="0.65.0"# Init buildxdocker buildx create --use# Build, tag and pushdocker buildx build \ --platform linux/amd64,linux/arm64/v8 \ --tag ueberdosis/build-tools:$VERSION \ --push \.
GNU General Public License v3.0
About
🛠️ Docker image with CI/CD tools
Topics
Resources
License
Stars
Watchers
Forks
Sponsor this project
Packages0
No packages published