From af8d4baa86ea6687e701c3e4d4275efc64f3903d Mon Sep 17 00:00:00 2001 From: fithwum Date: Thu, 3 Jul 2025 14:58:52 -0700 Subject: [PATCH] test --- .gitea/workflows/pipeline.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/pipeline.yml b/.gitea/workflows/pipeline.yml index 5016c6a..12a6a7e 100644 --- a/.gitea/workflows/pipeline.yml +++ b/.gitea/workflows/pipeline.yml @@ -1,4 +1,4 @@ -name: Build and Push Docker Image +name: Build and Push foundryvtt Docker Image on: push: @@ -12,14 +12,15 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v3 + + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 - - name: Log in to Docker Hub + - name: Log in to Gitea Registry run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login gitea.fithwum.tech -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin - name: Build Docker image - run: docker build -t gitea.fithwum.tech/${{ secrets.DOCKER_USERNAME }}/foundry_vtt:alpine . - - - name: Push Docker image - run: docker push gitea.fithwum.tech/${{ secrets.DOCKER_USERNAME }}/foundry_vtt:alpine + run: | + docker buildx build --platform linux/amd64 --push -t gitea.fithwum.tech/${{ secrets.DOCKER_USERNAME }}/foundry_vtt:alpine . - run: echo "This job's status is ${{ job.status }}." \ No newline at end of file