mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-12 08:23:48 +02:00
Adding apt-get update prior to attempting install of apt-transport-https in docker publish plugin
This commit is contained in:
parent
831b034aa3
commit
52201df4cc
@ -54,6 +54,8 @@ func (d *Docker) Write(f *buildfile.Buildfile, r *repo.Repo) {
|
||||
return
|
||||
}
|
||||
|
||||
f.WriteCmd("sudo apt-get update")
|
||||
|
||||
// Ensure correct apt-get has the https method-driver as per (http://askubuntu.com/questions/165676/)
|
||||
f.WriteCmd("sudo apt-get install apt-transport-https")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user