docker: apt manual test 1
This commit is contained in:
parent
31d54a0e99
commit
e952ea01c7
@ -20,9 +20,11 @@ jobs:
|
|||||||
done
|
done
|
||||||
- name: Build Docker image
|
- name: Build Docker image
|
||||||
run : |
|
run : |
|
||||||
cat /etc/os-release
|
apt-get install ca-certificates curl gnupg
|
||||||
apt -y install docker-ce docker-ce-cli containerd.io
|
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
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user