Skip to content

Commit

Permalink
fix: build image
Browse files Browse the repository at this point in the history
Signed-off-by: Gabriel Nützi <[email protected]>
  • Loading branch information
gabyx committed Jul 6, 2024
1 parent e2a92c9 commit 5446818
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/normal.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,9 @@ jobs:

if: ${{ inputs.is_release }}

env:
CI_IS_RELEASE: true

steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
2 changes: 2 additions & 0 deletions tools/build-image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ function main() {
# Write the temporary version file (gets restored...)
dasel put -r toml -f "$VERSION_FILE" -t string -v "$version" .package.version
else
print_info "Building image for release."

# When CI and in Release, the requested version must match.
version=$(dasel get -f "$VERSION_FILE" .package.version -w yaml)

Expand Down

0 comments on commit 5446818

Please sign in to comment.