In this example, the pipeline might fail because of changes to a file in service-one/**/*.Ī later commit that doesn’t have changes in service-one/**/*īut does have changes to the Dockerfile can pass. only : changes : - Dockerfile - service-one/**/* if: $CUSTOM_VARIABLE = "value1": If the custom variable CUSTOM_VARIABLE isĭocker build service one : script : docker build -t my-service-one-image:$CI_COMMIT_REF_SLUG.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |