Files
BeyondCXAnalytics-Demo/.gitea/workflows/example.yaml
Guillermo 559f49db8a
Some checks failed
Workflow de prueba / Build and push images (push) Failing after 1m22s
remove amr64
2026-02-13 13:29:50 +00:00

48 lines
1.1 KiB
YAML

name: Workflow de prueba
on:
- push
env:
DOCKER_ORG: beyondcx
BRANCH_NAME: main
jobs:
Build and push images:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Extract Branch Name
run: echo "${{ gitea.ref }}" ;
echo "${{ gitea.ref }}" | sed 's|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: Echo the Tag
run: echo "Tag ${{ env.DOCKER_ORG }}/beyondcx:${{ env.BRANCH_NAME }}"
- name: Login to Registry
uses: docker/login-action@v3
with:
registry: git.beyondcx.org
username: ${{ secrets.REGISTRY_USER }}
password: ${{ secrets.REGISTRY_PWD }}
- name: Build
uses: docker/build-push-action@v5
with:
context: .
push: true
tags: ${{ env.DOCKER_ORG }}/beyondcx:${{ env.BRANCH_NAME }}
platforms: linux/amd64