From 47bb3de27f931736e5075d5d04f121a7d080510a Mon Sep 17 00:00:00 2001 From: Mauro Torrez Date: Tue, 27 Feb 2024 13:15:05 -0300 Subject: [PATCH] Add gitea ci --- .gitea/workflows/build.yml | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 .gitea/workflows/build.yml diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml new file mode 100644 index 0000000..80b3e0d --- /dev/null +++ b/.gitea/workflows/build.yml @@ -0,0 +1,36 @@ +name: Build Docker images + +on: + push: + branches: + - main + workflow_dispatch: + +jobs: + docker: + runs-on: ubuntu-latest + strategy: + fail-fast: true + matrix: + version: + - "3" + steps: + - + name: Set up QEMU + uses: docker/setup-qemu-action@v3 + - + name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 + - + name: Login to Docker Hub + uses: docker/login-action@v3 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} + - + name: Build and push image + uses: docker/build-push-action@v5 + with: + push: true + tags: eumau/postfix:${{ matrix.version }} + platforms: linux/amd64,linux/arm64