-
Notifications
You must be signed in to change notification settings - Fork 15
spawn docker ENOENT on image build #43
Copy link
Copy link
Open
Labels
questionFurther information is requestedFurther information is requested
Description
Hi @esatterwhite,
When I try to build my Docker image using this plugin in my CI/CD pipeline in GitLab, I get this error:
[semantic-release] › ✘ An error occurred while running semantic-release: Error: Command failed with ENOENT: docker build --network=default --quiet --tag ...
Here is the relevant part of the CI job log:
https://gist.github.com/knjk04/d8792489979a765fd0f76156b8f7f9ac
This was working fine before, so I'm not sure what's changed. I have this running inside a Docker image that in turn can use Docker (Docker in Docker).
Here is my .releaserc.json (my package.json only includes package dependencies and versions):
{
"branches": [
{ "name": "main" },
{
"name": "semrel",
"prerelease": true
}
],
"preset": "conventionalcommits",
"plugins": [
[
"@semantic-release/commit-analyzer",
{
"preset": "conventionalcommits"
}
],
"@semantic-release/release-notes-generator",
[
"@semantic-release/changelog",
{
"changelogFile": "./CHANGELOG.md"
}
],
"@semantic-release/gitlab",
[
"@semantic-release/git",
{
"assets": ["./CHANGELOG.md"]
}
],
[
"@codedependant/semantic-release-docker",
{
"dockerTags": [
"my_app_{{version}}"
],
"dockerImage": "app",
"dockerRegistry": "redacted.dkr.ecr.us-east-1.amazonaws.com"
}
],
[
"@semantic-release/exec",
{
"publish": "python3 ./slack_alert_on_release.py ${nextRelease.version} app"
}
]
]
}
I am using version 4.4.0
Do you have any thoughts on why I might be getting this error and what I can do to fix this?
Thanks in advance.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested