This is my bitbucket-pipeline.yml, which has worked for years:
image: samueldebruyn/debian-gitpipelines:branches:master:- step:name: deploy to prod sitedeployment: productionscript:- apt-get update- apt-get -qq install git-ftp- git ftp push --user $FTP_LIVE_USERNAME --passwd $FTP_LIVE_PASSWORD $FTP_LIVE
And now I get this error on build:
+ apt-get updateIgn:1 http://security.debian.org/debian-security stable/updates InReleaseGet:2 http://deb.debian.org/debian stable InRelease [113 kB]Err:3 http://security.debian.org/debian-security stable/updates Release404 Not Found [IP: 151.101.250.132 80]Get:4 http://deb.debian.org/debian stable-updates InRelease [36.8 kB]Get:5 http://deb.debian.org/debian stable/main amd64 Packages [8178 kB]Reading package lists...E: The repository 'http://security.debian.org/debian-security stable/updates Release' does not have a Release file.
I understand that this issue is related not to bitbucket, and the problem is exactly with missing Debian image, but still, any ideas on how this can be fixed?
It seems the issue is with the outdated Docker image in samueldebruyn/debian-git.
I have managed to get my pipelines working using the updated Docker image from bitnami.
Simply replace the image to the following on your bitbucket-pipelines.yml
image: bitnami/git
Hi @artgana,
We've had reports from other customers using the same Docker image (samueldebruyn/debian-git), the issue seems to be with this Docker image since Debian 11 was released.
It has been raised with the maintainer of this image here:
which has a link to this stack overflow discussion:
Until the issue is fixed in samueldebruyn/debian-git, you can either use a different Docker image in your bitbucket-pipeline.yml file or create your own custom Docker image and use that instead.
Kind regards,Theodora
thanks!
thanks Theodora for explanation, changing image to
helped me!
It looks like you're new here. Sign in or register to get started.