docker: apt manual test 3
Some checks failed
Build Docker / Build Docker (push) Failing after 10s
OnPush / CheckFiles (push) Successful in 6s

This commit is contained in:
Nathan Woodburn 2023-07-27 22:29:59 +10:00
parent c6da8cddc3
commit e0720e3a20
Signed by: nathanwoodburn
GPG Key ID: 203B000478AD0EF1

View File

@ -21,9 +21,10 @@ jobs:
- name: Build Docker image - name: Build Docker image
run : | run : |
apt-get install ca-certificates curl gnupg apt-get install ca-certificates curl gnupg
mkdir -p /etc/apt/keyrings install -m 0755 -d /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg curl -fsSL https://download.docker.com/linux/debian/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg
echo "deb [arch="$(dpkg --print-architecture)" signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu "$(. /etc/os-release && echo "$VERSION_CODENAME")" stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null chmod a+r /etc/apt/keyrings/docker.gpg
echo "deb [arch="$(dpkg --print-architecture)" signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/debian "$(. /etc/os-release && echo "$VERSION_CODENAME")" stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null
apt-get update apt-get update
apt-get install docker-ce-cli apt-get install docker-ce-cli
echo "${{ secrets.DOCKERGIT_TOKEN }}" | docker login git.woodburn.au -u nathanwoodburn --password-stdin echo "${{ secrets.DOCKERGIT_TOKEN }}" | docker login git.woodburn.au -u nathanwoodburn --password-stdin