mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-26 22:56:43 +00:00
Fixed release step which had wrong image building
This commit is contained in:
parent
9ba90dc86b
commit
f70862f7e4
1 changed files with 6 additions and 1 deletions
7
.github/workflows/sf-release.yml
vendored
7
.github/workflows/sf-release.yml
vendored
|
|
@ -151,7 +151,12 @@ jobs:
|
||||||
- name: Extract image
|
- name: Extract image
|
||||||
id: image
|
id: image
|
||||||
run: |
|
run: |
|
||||||
echo "ID=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${GITHUB_SHA::7}" >> "$GITHUB_OUTPUT"
|
version="edge"
|
||||||
|
if [[ "${GITHUB_REF}" == refs/tags/* ]]; then
|
||||||
|
version=${GITHUB_REF#refs/tags/}
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo "ID=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${GITHUB_SHA::7}-${version}" >> "$GITHUB_OUTPUT"
|
||||||
|
|
||||||
- name: Extract assets
|
- name: Extract assets
|
||||||
if: startsWith(github.ref, 'refs/tags/')
|
if: startsWith(github.ref, 'refs/tags/')
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue