Fix release action #246
Labels
No labels
backend
bug
CI
dependencies
design
documentation
duplicate
enhancement
frontend
github_actions
good first issue
help wanted
invalid
javascript
question
refactoring
security
tooling
UX
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
NBIS/sda-download-ui!246
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/release-action"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Related issue(s) and PR(s)
This PR fixes a bug related to the path of the Dockerfile in the release workflow and adds a couple of improvements.
Closes #240 .
Bug description
The previous value
../Dockerfileresolved outside the workspace and caused:Fix implemented
./DockerfileAlso added some workflow improvements:
needs: [lint, test]to thebuild-and-pushjob so it only runs if both the linting and testing workflows succeed. This means that test and lint actions will run twice if the release action is triggered but this is a small price to pay because the release action is triggered only onmergeand onPRs to main.Testing
I tested this by temporarily allowing the release workflow to run on develop PRs so it should be OK now.
The next step is to try it on a release PR targeting main after this is merged.
Definition of Done checklist
Starting review ...
Very good!