mirror of
https://github.com/NLnetLabs/krill.git
synced 2026-09-30 05:14:52 +02:00
29 lines
1.0 KiB
YAML
29 lines
1.0 KiB
YAML
# The krillbuildbase image is used by the Krill E2E Test to accelerate the Rust compilation of Krill
|
|
# by including already built cargo crates for most if not all of Krills dependencies. We don't need
|
|
# to rebuild it all the time, but rebuilding it every now and again helps to keep the build time down.
|
|
# Ideally we'd use a different approach, e.g. some way of using a Rust build cache from within the
|
|
# Docker image build process, but for now we have this.
|
|
name: E2E Test Cache Image Builder
|
|
|
|
# Run every Sunday
|
|
on:
|
|
schedule:
|
|
- cron: '0 0 * * SUN'
|
|
|
|
# Enable manual triggering of this workflow via the GitHub Actions web user interface.
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
build-and-push:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: docker/build-push-action@v1
|
|
with:
|
|
username: ${{ secrets.E2E_TEST_DOCKER_HUB_ID }}
|
|
password: ${{ secrets.E2E_TEST_DOCKER_HUB_TOKEN }}
|
|
repository: ximoneighteen/krillbuildbase
|
|
tags: latest
|
|
target: build
|