actions: Build for amd
This commit is contained in:
parent
6c8c7a5505
commit
ec2c8f6a3c
@ -22,7 +22,7 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
Build Docker:
|
Build Docker:
|
||||||
runs-on: ubuntu-latest
|
runs-on: [ubuntu-latest, amd]
|
||||||
needs: CheckFiles
|
needs: CheckFiles
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
@ -37,7 +37,7 @@ jobs:
|
|||||||
apt-get update
|
apt-get update
|
||||||
apt-get install docker-ce-cli -y
|
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
|
||||||
tag_num=$(git rev-parse --short HEAD)
|
tag_num=$(git rev-parse --short HEAD)
|
||||||
docker build -t woodburn:$tag_num .
|
docker build -t woodburn:$tag_num .
|
||||||
|
Loading…
Reference in New Issue
Block a user