Skip to content

Commit

Permalink
workflows/docker-publish.yml: remove interactive parameters from vers…
Browse files Browse the repository at this point in the history
…ion docker invocation.

    Add explanation comments.
  • Loading branch information
Misterblue committed Apr 24, 2021
1 parent 48a6a59 commit 9931a92
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/docker-publish.yml
Expand Up @@ -36,10 +36,11 @@ jobs:
# platforms: linux/amd64,linux/arm64
tags: ${{ env.IMAGE_TAG }}

# Get version information from built image
# Get version information from built image.
# The unique version tag is generated during the build. Extract version string for image tagging.
- name: Fetch version information
run: |
IVERSION=$(docker run --rm -it --entrypoint "./GetVersion.sh" ${{ env.IMAGE_TAG }})
IVERSION=$(docker run --rm --entrypoint "./GetVersion.sh" ${{ env.IMAGE_TAG }})
echo "IVERSION=$IVERSION"
echo "IVERSION=$IVERSION" >> $GITHUB_ENV
Expand Down

0 comments on commit 9931a92

Please sign in to comment.