Skip to content

Commit

Permalink
test 7
Browse files Browse the repository at this point in the history
Signed-off-by: Yang Jiao <[email protected]>
  • Loading branch information
Yang Jiao authored and YangJiao0817 committed May 10, 2023
1 parent f7379c8 commit 1300f4a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/build-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,17 +42,22 @@ jobs:
- uses: actions/checkout@v3
with:
path: src/github.com/goharbor/harbor
- name: Debug
run: |
echo "changed-files: '${{ steps.changed-files.outputs.modified }}'"
echo "github.ref: '${{ github.ref }}'"
- name: Build Base Image
if: |
contains(steps.changed-files.outputs.modified, 'Dockerfile.base') ||
contains(steps.changed-files.outputs.modified, 'VERSION') ||
contains(steps.changed-files.outputs.modified, '.buildbaselog') ||
${{ github.ref }} == 'refs/heads/main'
github.ref == 'refs/heads/main'
run: |
set -x
echo "BUILD_BASE=true" >> $GITHUB_ENV
- name: Build Package
run: |
echo "github.ref: ${{ github.ref }}"
exit 0
set -x
env
Expand Down

0 comments on commit 1300f4a

Please sign in to comment.