This commit is contained in:
23
.gitea/workflows/build.yml
Normal file
23
.gitea/workflows/build.yml
Normal file
@@ -0,0 +1,23 @@
|
||||
name: build-and-push
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: docker
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Login to Gitea registry
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
registry: gitea.interno.com
|
||||
username: tu_usuario
|
||||
password: ${{ secrets.GITEA_TOKEN }}
|
||||
|
||||
- name: Build and push image
|
||||
run: |
|
||||
docker build -t gitea.interno.com/tu_usuario/mi-mcp-server:latest .
|
||||
docker push gitea.interno.com/tu_usuario/mi-mcp-server:latest
|
||||
Reference in New Issue
Block a user