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