From c1b15ecc0043e20528bf60f8d4f1de73fb4c1016 Mon Sep 17 00:00:00 2001 From: fithwum Date: Wed, 2 Jul 2025 15:45:44 -0700 Subject: [PATCH] pipeline test --- .gitea/workflows/pipeline.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .gitea/workflows/pipeline.yml diff --git a/.gitea/workflows/pipeline.yml b/.gitea/workflows/pipeline.yml new file mode 100644 index 0000000..c50d1d0 --- /dev/null +++ b/.gitea/workflows/pipeline.yml @@ -0,0 +1,25 @@ +name: Build and Push Docker Image + +on: + push: + branches: + - main + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v3 + + - name: Log in to Docker Hub + 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: echo "This job's status is ${{ job.status }}." \ No newline at end of file