Skip to content

Commit

Permalink
Update build-docker-images.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mrasif authored Jul 19, 2021
1 parent fc51f10 commit 3113269
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-docker-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ jobs:
run: |
DOCKER_IMAGE=techthinkerorg/script-runner
DOCKER_PLATFORMS=linux/amd64,linux/arm/v7,linux/arm64,linux/386
VERSION=edge
VERSION=latest
if [[ $GITHUB_REF == refs/tags/* ]]; then
VERSION=v${GITHUB_REF#refs/tags/v}
VERSION=${GITHUB_REF#refs/tags/v}
fi
if [ "${{ github.event_name }}" = "schedule" ]; then
Expand All @@ -31,7 +31,7 @@ jobs:
TAGS="--tag ${DOCKER_IMAGE}:${VERSION}"
if [ $VERSION = edge -o $VERSION = nightly ]; then
if [ $VERSION = latest -o $VERSION = nightly ]; then
TAGS="$TAGS --tag ${DOCKER_IMAGE}:latest"
fi
Expand Down

0 comments on commit 3113269

Please sign in to comment.