Skip to content
This repository was archived by the owner on Oct 14, 2025. It is now read-only.

nightly

nightly #104

Workflow file for this run

name: nightly
on:
workflow_dispatch:
schedule:
- cron: '0 4 * * *'
env:
REGISTRY: ghcr.io
IMAGE_NAME: aojea/kindnetd
jobs:
publish:
name: publish
runs-on: ubuntu-latest
timeout-minutes: 100
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@902fa8ec7d6ecbf8d84d538b9b233a880e428804
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: type=sha
- name: Log in to the Container registry
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push Docker image
uses: docker/build-push-action@v6
with:
context: .
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:next
labels: ${{ steps.meta.outputs.labels }}