From c7618645aea7f9d80ac3efc366401acd44d94148 Mon Sep 17 00:00:00 2001 From: Gabriel Viganotti Date: Thu, 28 Nov 2024 17:05:10 -0300 Subject: [PATCH] chore: test build for feat lcd --- .github/workflows/feat.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/feat.yml diff --git a/.github/workflows/feat.yml b/.github/workflows/feat.yml new file mode 100644 index 0000000..094869e --- /dev/null +++ b/.github/workflows/feat.yml @@ -0,0 +1,32 @@ +name: Docker Image CI + +on: + push: + branches: [ "*" ] + +jobs: + + build: + + if: "startsWith(github.event.head_commit.message, 'chore: test build for feat')" + runs-on: ubuntu-latest + + 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: ${{ vars.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} + + - name: Build and push + uses: docker/build-push-action@v6 + with: + platforms: linux/amd64,linux/arm64 + push: true + tags: ${{ vars.DOCKERHUB_USERNAME }}/formicaio:feat