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
|
||||
- name: Install Docker
|
||||
run : |
|
||||
echo "Updating apt sources"
|
||||
echo "deb http://ftp.au.debian.org/debian buster main" > /etc/apt/sources.list
|
||||
apt-get update --allow-unauthenticated --allow-insecure-repositories
|
||||
apt-get install docker.io -y
|
||||
apt-get install ca-certificates curl gnupg
|
||||
install -m 0755 -d /etc/apt/keyrings
|
||||
curl -fsSL https://download.docker.com/linux/debian/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg
|
||||
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
|
||||
run : |
|
||||
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 push git.woodburn.au/nathanwoodburn/hns_doh:$tag_num
|
||||
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