core/.github/workflows/build.yml
Adam Štrauch c3c2aa813d
Some checks failed
Build the Core image / build (push) Failing after 2m58s
Initial commit
2025-11-13 23:22:56 +01:00

26 lines
562 B
YAML

name: Build the Core image
on:
push:
branches: [ main ]
workflow_dispatch: {}
schedule:
- cron: '0 4 * * *'
jobs:
build:
runs-on: [dev, amd64]
env:
IMAGE: gitea.ceperka.net/cx/core
TAG: "43"
steps:
- uses: actions/checkout@v4
- name: Log in to registry
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login gitea.ceperka.net -u ${{ github.actor }} --password-stdin
- name: Build
run: docker build -t $IMAGE:$TAG .
- name: Push
run: docker push $IMAGE:$TAG