mirror of https://github.com/goharbor/harbor.git
Refresh the base images when building on main (#18661)
Be able to discover photon updates in time. Signed-off-by: Yang Jiao <jiaoya@vmware.com>
This commit is contained in:
parent
2958d7b7ff
commit
79d1aa05fd
|
@ -46,7 +46,8 @@ jobs:
|
||||||
if: |
|
if: |
|
||||||
contains(steps.changed-files.outputs.modified, 'Dockerfile.base') ||
|
contains(steps.changed-files.outputs.modified, 'Dockerfile.base') ||
|
||||||
contains(steps.changed-files.outputs.modified, 'VERSION') ||
|
contains(steps.changed-files.outputs.modified, 'VERSION') ||
|
||||||
contains(steps.changed-files.outputs.modified, '.buildbaselog')
|
contains(steps.changed-files.outputs.modified, '.buildbaselog') ||
|
||||||
|
github.ref == 'refs/heads/main'
|
||||||
run: |
|
run: |
|
||||||
set -x
|
set -x
|
||||||
echo "BUILD_BASE=true" >> $GITHUB_ENV
|
echo "BUILD_BASE=true" >> $GITHUB_ENV
|
||||||
|
|
Loading…
Reference in New Issue