Skip to content

Commit

Permalink
fix: get version from output and display
Browse files Browse the repository at this point in the history
  • Loading branch information
italopessoa committed Oct 16, 2024
1 parent cbfcff7 commit bbe4e05
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/build-and-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ jobs:
build-docker-image:
if: github.ref == 'refs/heads/main' && github.event_name != 'pull_request'
needs: semantic-release
name: Create Docker image ${{ needs.semantic-release.outputs.version }}
name: Create Docker image
runs-on: ubuntu-latest
permissions:
contents: read
Expand All @@ -119,6 +119,9 @@ jobs:
API_IMAGE_TAG: ${{ fromJson(steps.meta.outputs.json).tags[0] }}

steps:
- name: Extract version
run: echo ${{ needs.semantic-release.outputs.version }}

- name: Checkout repository
uses: actions/checkout@v4

Expand Down

0 comments on commit bbe4e05

Please sign in to comment.