Added trimming for the VERSION variable
This commit is contained in:
parent
768136696f
commit
12a16be6ed
@ -11,7 +11,7 @@ jobs:
|
||||
- name: "Build and push Docker image"
|
||||
run: |
|
||||
IMAGE_NAME="git.devdisciples.com/devdisciples/m4gdocs"
|
||||
IMAGE_VERSION="$(cat version.txt)"
|
||||
IMAGE_VERSION="$(cat version.txt | tr -d '[:space:]')"
|
||||
VERSIONED_IMAGE_TAG="$IMAGE_NAME:$IMAGE_VERSION"
|
||||
LATEST_IMAGE_TAG="$IMAGE_NAME:latest"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user