Spec file
Sample
version: '1.0'
from: 'romainlavabrefairfair/deploy-java' # Image of the build container
steps:
- name: '@test' # First step, launch test
script: '/.free-commit/live/test.sh' # Bash script from project root
- name: '@resolve-version' # Resolve the new version of the project
script: '/.free-commit/live/version.sh'
- name: '@build' # Builds the project in docker image and pushes to dockerhub
script: '/.free-commit/live/build.sh'
- name: '@deploy' # Deploys the new version
script: '/.free-commit/live/deploy.sh'
- name: '@tag' # Tags the project with the new version
script: '/.free-commit/live/tag.sh'
- name: '@script-with-arg'
script: /.free-commit/live/script-with-arg.sh arg1 arg2Error detection
Base image
Last updated