Skip to content

Commit f1438ca

Browse files
committed
updat.e
1 parent 586d21e commit f1438ca

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

.github/workflows/docker-build.yml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -57,18 +57,12 @@ jobs:
5757

5858
- name: Build and Push Images
5959
run: |
60-
# Determine the cache ID from ref input or github ref
61-
if [ -n "${{ inputs.ref }}" ]; then
62-
export TARGET_CACHE_ID="${{ inputs.ref }}"
63-
else
64-
export TARGET_CACHE_ID=${GITHUB_REF#refs/heads/}
65-
fi
66-
60+
# Use the original working approach from ci/build branch
61+
export TARGET_CACHE_ID=${GITHUB_REF#refs/heads/}
6762
export GHCR_ORG="movementlabsxyz"
68-
export PROFILE=${{ inputs.PROFILE || 'release' }}
69-
export FEATURES="${{ inputs.FEATURES }}"
63+
export PROFILE=${PROFILE:-release}
64+
export FEATURES=${FEATURES:-""}
7065
export CARGO_TARGET_DIR="target/${FEATURES:-default}"
71-
export CI=true
7266
7367
# Show build configuration
7468
echo "Building with:"

0 commit comments

Comments
 (0)