core/.github/workflows/build.yml
Adam Štrauch 16d5c52535
All checks were successful
Build the Core image / build (push) Successful in 3m42s
Update build configuration to use stable tag and upstream image
2025-11-14 13:12:35 +01:00

29 lines
674 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: "stable"
steps:
- uses: actions/checkout@v4
- name: Log in to registry
run: echo "${{ secrets.CICD_PASSWORD }}" | docker login gitea.ceperka.net -u ${{ secrets.CICD_USER }} --password-stdin
- name: Download latest upstream image
run: docker pull quay.io/fedora/fedora-coreos:stable
- name: Build
run: docker build -t $IMAGE:$TAG .
- name: Push
run: docker push $IMAGE:$TAG