mirror of
https://github.com/Retropex/docker-bitcoind.git
synced 2025-05-28 04:52:33 +02:00
Order matters…
This commit is contained in:
parent
1f745318d7
commit
3372a57db9
2
.github/workflows/on-tag.yml
vendored
2
.github/workflows/on-tag.yml
vendored
@ -41,9 +41,9 @@ jobs:
|
||||
exit 1
|
||||
fi
|
||||
|
||||
VERSION="$(echo "$GITHUB_REF" | sed -E "s|$TAG_FMT|\2|")"
|
||||
DIR="$(echo "${VERSION#v}" | cut -d. -f-2)"
|
||||
|
||||
VERSION="$(echo "$GITHUB_REF" | sed -E "s|$TAG_FMT|\2|")"
|
||||
if ! grep -q "^ARG VERSION=${VERSION#v}$" "$DIR/Dockerfile"; then
|
||||
echo "ERR: $DIR/Dockerfile must contain VERSION=$VERSION"
|
||||
exit 1
|
||||
|
Loading…
Reference in New Issue
Block a user