From e033f2e137041a94fcce371edc7c0e7e2d6c1776 Mon Sep 17 00:00:00 2001 From: Nathan Woodburn Date: Sat, 12 Aug 2023 15:02:57 +1000 Subject: [PATCH] actions: Revert to old method --- .gitea/workflows/build.yml | 28 +--------------------------- 1 file changed, 1 insertion(+), 27 deletions(-) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 96db21b..7b4a29f 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -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 \ No newline at end of file