Skip to content

Commit

Permalink
fix(again): build docker containers on release
Browse files Browse the repository at this point in the history
Signed-off-by: AtomicFS <[email protected]>
  • Loading branch information
AtomicFS committed Jul 11, 2024
1 parent 35ed1fe commit aff04f8
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,13 @@ jobs:
actions: write
contents: read
packages: write
if: startsWith(github.event.pull_request.title, 'Release:') && github.event.pull_request.merged == true
steps:
- name: Get tag of current commit
id: get_version
run:
echo "version=$(git tag --points-at HEAD) >> "${GITHUB_OUTPUT}"

- name: Trigger dagger workflow
uses: actions/github-script@v7
with:
Expand All @@ -95,7 +101,7 @@ jobs:
owner: context.repo.owner,
repo: context.repo.repo,
workflow_id: 'docker-build-and-test.yml',
ref: context.ref,
ref: "${{ steps.get_version.outputs.version }}",
})
console.log(result);
} catch(error) {
Expand Down

0 comments on commit aff04f8

Please sign in to comment.