Skip to content

Commit

Permalink
chore: export version for next job
Browse files Browse the repository at this point in the history
  • Loading branch information
yasinmiran committed Oct 9, 2024
1 parent 76246c5 commit a7e61ce
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/publish-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ permissions:
jobs:
bump_version:
runs-on: ubuntu-latest
outputs:
version: ${{ steps.extract_version.outputs.version }}
steps:
- name: Checkout the repository
uses: actions/checkout@v3
Expand Down Expand Up @@ -73,5 +75,5 @@ jobs:
with:
context: .
tags: |
ghcr.io/${{ env.repo_name }}:${{ env.version }}
ghcr.io/${{ env.repo_name }}:${{ needs.bump_version.steps.extract_version.outputs.version }}
ghcr.io/${{ env.repo_name }}:latest

0 comments on commit a7e61ce

Please sign in to comment.