name: Build and Push Docker Image on: push: branches: - master jobs: build-and-push: runs-on: ubuntu-latest steps: - name: Checkout repository uses: actions/checkout@v4 - name: Login to Gitea Container Registry uses: docker/login-action@v3 with: registry: gitea.tzbre.dev username: ${{ github.actor }} password: ${{ secrets.TOKEN }} - name: Build and push Docker image uses: docker/build-push-action@v5 with: context: . push: true tags: gitea.tzbre.dev/tzbre/shopsolution-frontend:latest