Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
b0l0k committed Oct 17, 2023
1 parent a7e23e6 commit fd20fce
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions python-app/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ inputs:
description: "args to pass to docker build"
required: false
default: ""
outputs:
semantic-version:
description: "Extracted Semantic version."
value: ${{ steps.docker.outputs.semantic-version }}

runs:
using: "composite"
Expand All @@ -53,6 +57,7 @@ runs:
GOSS_FILES_PATH: .github/goss

- uses: LedgerHQ/actions/python-app/docker@add-reusable-workflow-helm
id: docker
with:
build-args: ${{ inputs.docker-build-args }}

Expand Down
2 changes: 1 addition & 1 deletion python-app/docker/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ runs:
REF: ${{ github.event.pull_request && github.head_ref || github.ref_name }}
run: |
if [[ $REF =~ ^[0-9]+\.[0-9]+\.[0-9]+(.*)$ ]]; then
echo "semantic-version=$REF
echo "semantic-version=$REF" >> ${GITHUB_OUTPUT}
else
echo "semantic-version=0.0.0-${REF//[\/_]/-}" >> ${GITHUB_OUTPUT}
fi
Expand Down

0 comments on commit fd20fce

Please sign in to comment.