From abba223bcf6bb8ae04702b9a657b384b8f318002 Mon Sep 17 00:00:00 2001 From: eko Date: Mon, 16 Mar 2026 04:27:19 +0700 Subject: [PATCH] create pipiline dockerfile --- .gitea/workflows/pipeline.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 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..eaa626f --- /dev/null +++ b/.gitea/workflows/pipeline.yml @@ -0,0 +1,27 @@ +/************* ✨ Windsurf Command ⭐ *************/ +name: Gitea Actions Demo +on: [push] + +jobs: + build-and-run: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v4 + - name: Login to Docker Hub + uses: docker/login-action@v2 + with: + username: ${{ secrets.DOCKER_USERNAME }} + password: ${{ secrets.DOCKER_PASSWORD }} + - name: Build and push + uses: docker/build-push-action@v2 + with: + context: . + push: true + tags: "latest" + - name: Run container + uses: docker/run-action@v2 + with: + image: ${{ github.repository }}:latest + ports: ["8000:8000"] +/******* de172138-7df1-41e4-b549-beb9d9bd9967 *******/ \ No newline at end of file