diff --git a/.gitea/workflows/publish.yaml b/.gitea/workflows/publish.yaml new file mode 100644 index 0000000..c5b4791 --- /dev/null +++ b/.gitea/workflows/publish.yaml @@ -0,0 +1,21 @@ +name: Docker Build + +on: + push: + branches: + - main + +jobs: + build: + runs-on: self-hosted + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Build Docker image + run: | + docker build -t myapp:latest . + + - name: List Docker images + run: docker images