Skip to content

Commit

Permalink
Merge pull request #846 from iotaledger/shufps-patch-1
Browse files Browse the repository at this point in the history
Update docker-deployment.yaml
  • Loading branch information
shufps authored Nov 23, 2023
2 parents b6c059b + 7dc7a05 commit d3a392a
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/docker-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,14 @@ jobs:
username: ${{ secrets.IOTALEDGER_DOCKER_USERNAME }}
password: ${{ secrets.IOTALEDGER_DOCKER_PASSWORD }}

- name: Get the version
id: get_version
run: echo "VERSION=$(git describe --tags)" >> $GITHUB_ENV
#- name: Get the version
# id: get_version
# run: echo "VERSION=$(git describe --tags)" >> $GITHUB_ENV

- name: Get the short commit hash
run: |
COMMIT_HASH=$(git rev-parse --short HEAD)
echo "VERSION=$COMMIT_HASH" >> $GITHUB_ENV
- name: Set up Environment Variable
run: echo "DEPLOY_ENV=${{ github.event.inputs.environment }}" >> $GITHUB_ENV
Expand Down

0 comments on commit d3a392a

Please sign in to comment.