Skip to content

Commit 3d512ce

Browse files
committed
Fix docker build
1 parent d2d7bc8 commit 3d512ce

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/docker.yml

+11-1
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,22 @@ jobs:
2727
- linux/ppc64le
2828
- linux/riscv64
2929
- linux/s390x
30-
- linux/mips64le
3130
steps:
31+
- name: Get commit to build
32+
id: ref
33+
run: |-
34+
if [[ -z "${{ github.event.inputs.tag }}" ]]; then
35+
ref="${{ github.ref_name }}"
36+
else
37+
ref="${{ github.event.inputs.tag }}"
38+
fi
39+
echo "ref=$ref"
40+
echo "ref=$ref" >> $GITHUB_OUTPUT
3241
- name: Checkout
3342
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
3443
with:
3544
ref: ${{ steps.ref.outputs.ref }}
45+
fetch-depth: 0
3646
- name: Prepare
3747
run: |
3848
platform=${{ matrix.platform }}

0 commit comments

Comments
 (0)