Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
laurivosandi committed Sep 18, 2024
0 parents commit 6dea354
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: ci

on:
push:
branches:
- "main"

jobs:
docker:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v3
with:
submodules: recursive
-
name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ github.repository_owner }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Build and push
uses: docker/build-push-action@v4
with:
context: .
push: true
tags: ${{ github.repository }}:24.04-standard-amd64-generic-v3.1.3-k3sv1.31.0-k3s1
7 changes: 7 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
FROM quay.io/kairos/ubuntu:24.04-standard-amd64-generic-v3.1.3-k3sv1.31.0-k3s1
WORKDIR /var/lib/rancher/k3s/server/manifests/
RUN curl -L -O https://raw.githubusercontent.com/dragonflydb/dragonfly-operator/v1.1.7/manifests/dragonfly-operator.yaml
RUN echo -en "---\napiVersion: v1\nkind: Namespace\nmetadata:\n name: prometheus-operator\n" > prometheus-operator.yaml
RUN curl -L https://github.com/prometheus-operator/prometheus-operator/releases/download/v0.76.2/bundle.yaml | sed -e 's/namespace: default/namespace: prometheus-operator/g' >> prometheus-operator.yaml
RUN curl -L -O https://raw.githubusercontent.com/metallb/metallb-operator/v0.14.2/bin/metallb-operator.yaml
RUN curl -L -O https://github.com/jetstack/cert-manager/releases/download/v1.15.3/cert-manager.yaml

0 comments on commit 6dea354

Please sign in to comment.