docker: Test apt 2
This commit is contained in:
parent
731f62e151
commit
31d54a0e99
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user