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

This commit is contained in:
Nathan Woodburn 2023-07-27 22:30:39 +10:00
parent e0720e3a20
commit 2c59b570af
Signed by: nathanwoodburn
GPG Key ID: 203B000478AD0EF1

View File

@ -26,7 +26,7 @@ jobs:
chmod a+r /etc/apt/keyrings/docker.gpg 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 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 -y
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
docker build -t woodburn-website:latest . docker build -t woodburn-website:latest .
docker push git.woodburn.au/nathanwoodburn/woodburn-website:latest docker push git.woodburn.au/nathanwoodburn/woodburn-website:latest