mirror of
https://github.com/goharbor/harbor.git
synced 2025-01-09 09:27:42 +01:00
Merge pull request #15748 from YangJiao0817/cherry-pick-refresh-base-to-release-1.10.0
Cherry pick refresh base to release 1.10.0
This commit is contained in:
commit
855ef73364
12
.buildbaselog
Normal file
12
.buildbaselog
Normal file
@ -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 <danfengl@vmware.com>
|
||||||
|
- Create this file to trigger build base action in buld-package workflow
|
7
.github/workflows/build-package.yml
vendored
7
.github/workflows/build-package.yml
vendored
@ -18,7 +18,7 @@ jobs:
|
|||||||
- ubuntu-latest
|
- ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
|
- uses: google-github-actions/setup-gcloud@master
|
||||||
with:
|
with:
|
||||||
version: '285.0.0'
|
version: '285.0.0'
|
||||||
project_id: ${{ secrets.GCP_PROJECT_ID }}
|
project_id: ${{ secrets.GCP_PROJECT_ID }}
|
||||||
@ -46,7 +46,10 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
path: src/github.com/goharbor/harbor
|
path: src/github.com/goharbor/harbor
|
||||||
- name: Build Base Image
|
- 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: |
|
run: |
|
||||||
set -x
|
set -x
|
||||||
base_image_tag=$(cat ./VERSION)
|
base_image_tag=$(cat ./VERSION)
|
||||||
|
Loading…
Reference in New Issue
Block a user