diff --git a/.github/workflows/build-publish.yml b/.github/workflows/build-publish.yml index 6c14974..2876751 100644 --- a/.github/workflows/build-publish.yml +++ b/.github/workflows/build-publish.yml @@ -2,10 +2,14 @@ name: Build and publish container image on: + release: + types: + - published push: - branches: [main] - # Publish semver tags as releases. - tags: ['v*.*.*'] + branches: + - main + tags: + - 'v[0-9]+*' workflow_dispatch: env: diff --git a/.github/workflows/build-test.yaml b/.github/workflows/build-test.yaml index d809f16..27e43cd 100644 --- a/.github/workflows/build-test.yaml +++ b/.github/workflows/build-test.yaml @@ -3,7 +3,8 @@ name: Build and test container image on: pull_request: - branches: [main] + branches: + - main workflow_dispatch: env: diff --git a/.gitignore b/.gitignore index 1397432..550aef3 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ *.pkl +.DS_Store