From 220347c553e0eae987114d7dddf8ff1e7466e577 Mon Sep 17 00:00:00 2001 From: Thanu Poptiphueng Date: Sat, 20 Apr 2024 23:07:59 +0700 Subject: [PATCH] created gitea action --- .gitea/workflows/frontend.yaml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .gitea/workflows/frontend.yaml diff --git a/.gitea/workflows/frontend.yaml b/.gitea/workflows/frontend.yaml new file mode 100644 index 0000000..c227c0a --- /dev/null +++ b/.gitea/workflows/frontend.yaml @@ -0,0 +1,25 @@ +name: frontend-action +run-name: ${{ gitea.actor }} is building docker image 🚀 +on: [push] + +jobs: + build-image: + runs-on: ubuntu-20.04 + steps: + - name: Check out repository code + uses: actions/checkout@v3 + - name: Login to Docker Hub + uses: docker/login-action@v3 + with: + username: ${{ secrets.DOCKER_USERNAME }} + password: ${{ secrets.DOCKER_PASSWORD }} + registry: gitea.cognizata.com + - name: Build and push + uses: docker/build-push-action@v5 + with: + context: . + push: true + platforms: linux/amd64 + tags: gitea.cognizata.com/atapy/sorvor-front:latest + target: app + - run: echo "🍏 This job's status is ${{ job.status }}."