Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Container build workflow not triggered by release #98

Open
bedroge opened this issue Sep 29, 2021 · 2 comments
Open

Container build workflow not triggered by release #98

bedroge opened this issue Sep 29, 2021 · 2 comments

Comments

@bedroge
Copy link
Collaborator

bedroge commented Sep 29, 2021

The workflow does have:

  release:
    types: [published]

But this doesn't seem to work. Probably caused by:

When you use the repository's GITHUB_TOKEN to perform tasks on behalf of the GitHub Actions app, events triggered by the GITHUB_TOKEN will not create a new workflow run. This prevents you from accidentally creating recursive workflow runs.

We need to find some other way to automatically build new containers after the release (and, hence, the new client packages) has been published.

@bedroge
Copy link
Collaborator Author

bedroge commented Sep 29, 2021

Maybe it should be triggered by (all) pushes to main (or when a tag is created?) AND after successful completion of the client package workflow. See: https://docs.github.com/en/actions/learn-github-actions/events-that-trigger-workflows#workflow_run

@bedroge
Copy link
Collaborator Author

bedroge commented Sep 29, 2021

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant