actions: Revert to old method
All checks were successful
Build Docker / Build Docker (push) Successful in 18s
All checks were successful
Build Docker / Build Docker (push) Successful in 18s
This commit is contained in:
parent
5db6c34add
commit
e033f2e137
@ -25,30 +25,4 @@ jobs:
|
||||
docker tag woodburn-bot:$tag_num git.woodburn.au/nathanwoodburn/woodburn-bot:$tag_num
|
||||
docker push git.woodburn.au/nathanwoodburn/woodburn-bot:$tag_num
|
||||
docker tag woodburn-bot:$tag_num git.woodburn.au/nathanwoodburn/woodburn-bot:latest
|
||||
docker push git.woodburn.au/nathanwoodburn/woodburn-bot:latest
|
||||
Build Docker v2:
|
||||
runs-on: ubuntu-latest
|
||||
container: git.woodburn.au/nathanwoodburn/woodburn-docker:latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v1
|
||||
- name: Login to private registry
|
||||
uses: docker/login-action@v1
|
||||
with:
|
||||
registry: https://git.woodburn.au
|
||||
username: nathanwoodburn
|
||||
password: ${{ secrets.DOCKERGIT_TOKEN }}
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v2
|
||||
with:
|
||||
context: ./
|
||||
file: ./Dockerfile
|
||||
builder: ${{ steps.buildx.outputs.name }}
|
||||
push: true
|
||||
tags: 'https://git.woodburn.au/nathanwoodburn/server:latest'
|
||||
cache-from: 'type=registry,ref=https://git.woodburn.au/nathanwoodburn/server:buildcache'
|
||||
cache-to: 'type=registry,ref=https://git.woodburn.au/nathanwoodburn/server:buildcache,mode=max'
|
||||
|
||||
|
||||
docker push git.woodburn.au/nathanwoodburn/woodburn-bot:latest
|
Loading…
Reference in New Issue
Block a user