core/.github/workflows/build.yml
Adam Štrauch 4dd980586f
Some checks failed
Build the Core image / build (push) Failing after 10s
Fix pipeline
2025-11-13 23:35:35 +01:00

29 lines
667 B
YAML

name: Build the Core image
on:
push:
branches: [ main ]
workflow_dispatch: {}
schedule:
- cron: '0 23 * * *'
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 "${{ env.FORGEJO_TOKEN }}" | docker login gitea.ceperka.net -u ${{ env.FORGEJO_ACTOR }} --password-stdin
- name: Download latest upstream image
run: docker pull quay.io/fedora/fedora-coreos:testing
- name: Build
run: docker build -t $IMAGE:$TAG .
- name: Push
run: docker push $IMAGE:$TAG