Skip to content

Commit

Permalink
change it to support run in branch
Browse files Browse the repository at this point in the history
Signed-off-by: juicer <[email protected]>
  • Loading branch information
cw-Guo committed Jan 3, 2025
1 parent 3b67bb7 commit 1d2fd5b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build-fb-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
ref: ${{ github.ref }}

- name: Read fluent-bit version from file
id: get-version
Expand All @@ -41,7 +43,7 @@ jobs:
- name: Determine image version tag
id: determine-tags
run: |
VERSION=${{ steps.get-version.outputs.VERSION }}
VERSION=${{ needs.get-version.outputs.VERSION }}
VERSION_WITHOUT_V=${VERSION#v}
MAJOR_MINOR=$(echo $VERSION_WITHOUT_V | cut -d. -f1-2)
Expand Down

0 comments on commit 1d2fd5b

Please sign in to comment.