Files
BeyondCXAnalytics-Demo/.gitea/workflows/example.yaml
Workflow config file is invalid. Please check your config file: yaml: line 36: mapping values are not allowed in this context
2026-02-13 11:49:12 +00:00

47 lines
1.1 KiB
YAML

name: Workflow de prueba
on:
- push
env:
DOCKER_ORG: beyondcx
BRANCH_NAME: ${{ github.ref_name }}
jobs:
Build and push images:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Extract Branch Name
run: echo "BRANCH_NAME=${gitea.ref#refs/heads/}" >> env.BRANCH_NAME
- name: Setup QEMU
uses: docker/setup-qemu-action@v3
- name: Setup Buildx
uses: docker/setup-buildx-action@v3
with:
driver-opts: network=host
- name: Login to Registry
uses: docker/login-action@v3
with:
url: git.beyondcx.org
username: ${{ secrets.REGISTRY_USER }}
password: ${{ secrets.REGITRY_PWD }}
- name: Echo the Tag
run: echo "Tag: ${{ env.DOCKER_ORG }}/beyondcx:${BRANCH_NAME} }}"
- name: Build
uses: docker/build-push-action@v3
with:
context: .
push: false
tags: ${{ env.DOCKER_ORG }}/beyondcx:${{ env.BRANCH_NAME }}
platforms: linux/amd64,linux/arm64