Skip to content

Commit 3113269

Browse files
authored
Update build-docker-images.yml
1 parent fc51f10 commit 3113269

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/build-docker-images.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ jobs:
1919
run: |
2020
DOCKER_IMAGE=techthinkerorg/script-runner
2121
DOCKER_PLATFORMS=linux/amd64,linux/arm/v7,linux/arm64,linux/386
22-
VERSION=edge
22+
VERSION=latest
2323
2424
if [[ $GITHUB_REF == refs/tags/* ]]; then
25-
VERSION=v${GITHUB_REF#refs/tags/v}
25+
VERSION=${GITHUB_REF#refs/tags/v}
2626
fi
2727
2828
if [ "${{ github.event_name }}" = "schedule" ]; then
@@ -31,7 +31,7 @@ jobs:
3131
3232
TAGS="--tag ${DOCKER_IMAGE}:${VERSION}"
3333
34-
if [ $VERSION = edge -o $VERSION = nightly ]; then
34+
if [ $VERSION = latest -o $VERSION = nightly ]; then
3535
TAGS="$TAGS --tag ${DOCKER_IMAGE}:latest"
3636
fi
3737

0 commit comments

Comments
 (0)