From 087cccaff40c34fcb8faaebc27f675f509001d64 Mon Sep 17 00:00:00 2001 From: Jannik Reimers Date: Thu, 3 Apr 2025 17:16:25 +0200 Subject: [PATCH] i swear to god --- .github/workflows/root.yml | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/.github/workflows/root.yml b/.github/workflows/root.yml index 6472181..89169a2 100644 --- a/.github/workflows/root.yml +++ b/.github/workflows/root.yml @@ -38,14 +38,19 @@ jobs: username: ${{ secrets.DOMAIL }} password: ${{ secrets.DOKEY }} - - name: Build the Docker image - run: docker build -t registry.digitalocean.com/jansel/aglaea:latest -t registry.digitalocean.com/jansel/aglaea:${{ steps.date.outputs.date }} . + - name: Set up QEMU + uses: docker/setup-qemu-action@v3 - - name: Push the Docker image related to this workflow - run: docker push registry.digitalocean.com/jansel/aglaea:${{ steps.date.outputs.date }} + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 - - name: Push the latest Docker image - run: docker push registry.digitalocean.com/jansel/aglaea:latest + - name: Build and push + uses: docker/build-push-action@v6 + with: + push: true + tags: + - registry.digitalocean.com/jansel/aglaea:${{ steps.date.outputs.date }} + - registry.digitalocean.com/jansel/aglaea:latest - name: Remove the Docker image run: docker rmi registry.digitalocean.com/jansel/aglaea:${{ steps.date.outputs.date }}