Skip to content

Commit 8ae2c1a

Browse files
committed
udpate.
1 parent f1438ca commit 8ae2c1a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/docker-build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
with:
4343
fetch-depth: 0 # Fetch all history
4444
# For PRs, checkout the PR branch; for manual triggers use provided ref; otherwise use github.ref
45-
ref: ${{ github.event.pull_request.head.sha || inputs.ref || inputs.GIT_SHA || github.ref }}
45+
ref: ${{ github.event.pull_request.head.sha || github.event.inputs.ref || github.event.inputs.GIT_SHA || github.ref }}
4646
token: ${{ secrets.GH_PAT }} # Use PAT for checkout
4747

4848
- name: Set up Docker Buildx
@@ -60,8 +60,8 @@ jobs:
6060
# Use the original working approach from ci/build branch
6161
export TARGET_CACHE_ID=${GITHUB_REF#refs/heads/}
6262
export GHCR_ORG="movementlabsxyz"
63-
export PROFILE=${PROFILE:-release}
64-
export FEATURES=${FEATURES:-""}
63+
export PROFILE=${{ github.event.inputs.PROFILE || 'release' }}
64+
export FEATURES="${{ github.event.inputs.FEATURES }}"
6565
export CARGO_TARGET_DIR="target/${FEATURES:-default}"
6666
6767
# Show build configuration

0 commit comments

Comments
 (0)