fix: Update build script
All checks were successful
Build Docker / Build_Docker (push) Successful in 3m0s
All checks were successful
Build Docker / Build_Docker (push) Successful in 3m0s
This commit is contained in:
@@ -11,10 +11,13 @@ jobs:
|
|||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
- name: Install Docker
|
- name: Install Docker
|
||||||
run : |
|
run : |
|
||||||
echo "Updating apt sources"
|
apt-get install ca-certificates curl gnupg
|
||||||
echo "deb http://ftp.au.debian.org/debian buster main" > /etc/apt/sources.list
|
install -m 0755 -d /etc/apt/keyrings
|
||||||
apt-get update --allow-unauthenticated --allow-insecure-repositories
|
curl -fsSL https://download.docker.com/linux/debian/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg
|
||||||
apt-get install docker.io -y
|
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
|
||||||
|
apt-get update
|
||||||
|
apt-get install docker-ce-cli -y
|
||||||
- name: Build Docker image
|
- name: Build Docker image
|
||||||
run : |
|
run : |
|
||||||
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
|
||||||
@@ -37,4 +40,4 @@ jobs:
|
|||||||
docker tag hns_doh:$tag_num git.woodburn.au/nathanwoodburn/hns_doh:$tag_num
|
docker tag hns_doh:$tag_num git.woodburn.au/nathanwoodburn/hns_doh:$tag_num
|
||||||
docker push git.woodburn.au/nathanwoodburn/hns_doh:$tag_num
|
docker push git.woodburn.au/nathanwoodburn/hns_doh:$tag_num
|
||||||
docker tag hns_doh:$tag_num git.woodburn.au/nathanwoodburn/hns_doh:$tag
|
docker tag hns_doh:$tag_num git.woodburn.au/nathanwoodburn/hns_doh:$tag
|
||||||
docker push git.woodburn.au/nathanwoodburn/hns_doh:$tag
|
docker push git.woodburn.au/nathanwoodburn/hns_doh:$tag
|
||||||
|
|||||||
Reference in New Issue
Block a user