Skip to content

Commit

Permalink
fix(ci): able to trigger workflow within a workflow (#37)
Browse files Browse the repository at this point in the history
* Revert "release(version): Bump to v0.4.1 (#35)" (#36)

This reverts commit e069389.

* fix(ci): able to trigger workflow within a workflow

https://docs.github.com/en/actions/using-workflows/triggering-a-workflow#triggering-a-workflow-from-a-workflow
  • Loading branch information
0xRichardH authored Oct 10, 2023
1 parent 56d520a commit 6365ea8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ name: Build docker image

on:
workflow_dispatch:
create:
push:
tags:
- "v*.*.*"
Expand All @@ -14,7 +13,6 @@ permissions:

jobs:
build:
if: ${{ startsWith(github.ref, 'refs/tags/') }}
name: build and publish docker image
runs-on: ubuntu-latest
steps:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,4 @@ jobs:
with:
body_path: ./docs/LATEST_CHANGELOG.md
tag_name: ${{ steps.vars.outputs.version }}
token: ${{ secrets.PAT }}

0 comments on commit 6365ea8

Please sign in to comment.