diff --git a/.buildbaselog b/.buildbaselog new file mode 100644 index 000000000..7ae562322 --- /dev/null +++ b/.buildbaselog @@ -0,0 +1,12 @@ +# Please add memo for logging the reason to trigger build base images action. +# Note: +# Any modifiction of this file will trigger base images build action. + + +%changelog + +* Add date here... Add signature here... +- Add your reason here... + +* Jul 15 2021 +- Create this file to trigger build base action in buld-package workflow \ No newline at end of file diff --git a/.github/workflows/build-package.yml b/.github/workflows/build-package.yml index 265a3c4c3..7932d4e38 100644 --- a/.github/workflows/build-package.yml +++ b/.github/workflows/build-package.yml @@ -46,7 +46,10 @@ jobs: with: path: src/github.com/goharbor/harbor - name: Build Base Image - if: contains(steps.changed-files.outputs.modified, 'Dockerfile.base') || contains(steps.changed-files.outputs.modified, 'VERSION') + if: | + contains(steps.changed-files.outputs.modified, 'Dockerfile.base') || + contains(steps.changed-files.outputs.modified, 'VERSION') || + contains(steps.changed-files.outputs.modified, '.buildbaselog') run: | set -x base_image_tag=$(cat ./VERSION)