docker: Test apt 2
Some checks failed
Build Docker / Build Docker (push) Failing after 6s
OnPush / CheckFiles (push) Successful in 6s

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

View File

@ -3,7 +3,7 @@ run-name: Build Docker
on: [push] on: [push]
jobs: jobs:
CheckFiles: Build Docker:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
@ -21,6 +21,8 @@ jobs:
- name: Build Docker image - name: Build Docker image
run : | run : |
cat /etc/os-release cat /etc/os-release
apt -y install docker-ce docker-ce-cli containerd.io
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