Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Docker Workflow checks out main instead of a tagged branch #947

@srivarra

Description

@srivarra

Please refer to our FAQ and look at our known issues before opening a bug report.

Describe the bug

When creating a new release, the procedure consists of running pypi_publish and then docker. pypi_publish checks out the correctly tagged branch, however docker checks out the main branch. This is because running a workflow after the success of another workflow checks out the default branch (main).

Expected behavior

The docker workflow should build the docker image based on the tagged branch used in pypi_publish, so it should check out refs/tags/vX.Y.Z instead of refs/remotes/origin/main.

To Reproduce
Make a new release and watch it happen live.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinggithub_actionsPull requests that update GitHub Actions code

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions