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

This commit is contained in:
Nathan Woodburn 2023-07-27 22:26:01 +10:00
parent 31d54a0e99
commit e952ea01c7
Signed by: nathanwoodburn
GPG Key ID: 203B000478AD0EF1

View File

@ -20,9 +20,11 @@ jobs:
done
- name: Build Docker image
run : |
cat /etc/os-release
apt -y install docker-ce docker-ce-cli containerd.io
apt-get install ca-certificates curl gnupg
curl -fsSL https://download.docker.com/linux/ubuntu/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
apt-get update
apt-get install docker-ce-cli
echo "${{ secrets.DOCKERGIT_TOKEN }}" | docker login git.woodburn.au -u nathanwoodburn --password-stdin
docker build -t woodburn-website:latest .
docker push git.woodburn.au/nathanwoodburn/woodburn-website:latest