feat: Initialize a React application with Vite for image analysis and translation, configured with Docker and Gitea CI/CD.
All checks were successful
Docker Build and Push / build-and-push (push) Successful in 51s
All checks were successful
Docker Build and Push / build-and-push (push) Successful in 51s
This commit is contained in:
17
.gitea/workflows/deploy.yaml
Normal file
17
.gitea/workflows/deploy.yaml
Normal file
@@ -0,0 +1,17 @@
|
||||
name: Docker Build and Push
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
build-and-push:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Login to Gitea Registry
|
||||
run: echo ${{ secrets.ACCESS_TOKEN }} | docker login git.almazlar.com -u ${{ gitea.actor }} --password-stdin
|
||||
|
||||
- name: Build and Push
|
||||
run: |
|
||||
docker build -t git.almazlar.com/${{ gitea.repository }}:latest .
|
||||
docker push git.almazlar.com/${{ gitea.repository }}:latest
|
||||
Reference in New Issue
Block a user