Open joelwurtz opened 8 months ago
Is there a simple way to get sudo back? I need it quiet often
Is there a simple way to get sudo back? I need it quiet often
done
Hello,
Thanks for this PR!
I tested it on https://github.com/jolicode/qotd/pull/62 and
cat /etc/docker/daemon.json
{
"features": {
"containerd-snapshotter": true
}
}
I also tried to create a VM, and the cache is missing there too
Vagrant.configure("2") do |config|
config.vm.box = "debian/bookworm64"
config.vm.synced_folder "/home/gregoire/dev/github.com/jolicode/qotd2", "/qotd"
config.vm.provider "virtualbox" do |vb|
vb.memory = "4096"
end
config.vm.provision "shell", inline: <<-SHELL
apt-get update
sudo apt-get update
sudo apt-get install -y ca-certificates curl
sudo install -m 0755 -d /etc/apt/keyrings
sudo curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc
sudo chmod a+r /etc/apt/keyrings/docker.asc
# Add the repository to Apt sources:
echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/debian \
$(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \
sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt-get update
sudo apt-get -y install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
sudo usermod -aG docker vagrant
sudo wget https://github.com/jolicode/castor/releases/download/v0.17.1/castor.linux-amd64 -O /usr/local/bin/castor
sudo chmod +x /usr/local/bin/castor
SHELL
end
Who push the cache ?
It is highly recommendend that cache is push by the CI, version of docker / config from where the cache is pushed need to be controled as special configuration or version may make him unshareable.
For the CI also i see this
Did you make sur that GHA has correct permissions to read this package ?
EDIT : In your case it miss the docker login
step
Fix https://github.com/jolicode/docker-starter/issues/252
WHat it does :