Some checks failed
Build and Push Frontend / build (push) Failing after 9s
Co-Authored-By: Claude Sonnet 4.5 (1M context) <noreply@anthropic.com>
27 lines
768 B
YAML
27 lines
768 B
YAML
name: Build and Push Frontend
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Build Docker image
|
|
run: docker build -t git.fuq.tv/admin/aiworker-frontend:${{ gitea.sha }} .
|
|
|
|
- name: Tag as latest
|
|
run: docker tag git.fuq.tv/admin/aiworker-frontend:${{ gitea.sha }} git.fuq.tv/admin/aiworker-frontend:latest
|
|
|
|
- name: Login to Gitea registry
|
|
run: echo "${{ secrets.REGISTRY_PASSWORD }}" | docker login git.fuq.tv -u admin --password-stdin
|
|
|
|
- name: Push images
|
|
run: |
|
|
docker push git.fuq.tv/admin/aiworker-frontend:${{ gitea.sha }}
|
|
docker push git.fuq.tv/admin/aiworker-frontend:latest
|