try to only build changed cmd

This commit is contained in:
Seraphim Strub 2023-03-06 19:16:37 +01:00
parent d8793a1b9f
commit 7ea6ba6809

View file

@ -22,8 +22,8 @@
# Run this job in a branch where a Dockerfile exists # Run this job in a branch where a Dockerfile exists
rules: rules:
- if: $CI_COMMIT_BRANCH - if: $CI_COMMIT_BRANCH
exists: changes:
- Dockerfile - cmd/${GO_CMD}/*/**
funbot: funbot:
stage: build stage: build