Skip to content

Commit

Permalink
Remove unnecessary Docker image tags
Browse files Browse the repository at this point in the history
  • Loading branch information
bachya committed Oct 10, 2020
1 parent 24afc63 commit fcb006f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/publish_to_docker_hub.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,8 @@ jobs:
MINOR=${VERSION%.*}
MAJOR=${MINOR%.*}
TAGS="$TAGS,${DOCKER_IMAGE}:${MINOR},${DOCKER_IMAGE}:${MAJOR},${DOCKER_IMAGE}:latest"
elif [ "${{ github.event_name }}" = "push" ]; then
TAGS="$TAGS,${DOCKER_IMAGE}:sha-${GITHUB_SHA::8}"
fi
echo ::set-output name=version::${VERSION}
echo ::set-output name=tags::${TAGS}
echo ::set-output name=created::$(date -u +'%Y-%m-%dT%H:%M:%SZ')
Expand Down

0 comments on commit fcb006f

Please sign in to comment.