add_workflow
Some checks failed
Build and Push Image / Build and push image (push) Failing after 6m42s
Some checks failed
Build and Push Image / Build and push image (push) Failing after 6m42s
This commit is contained in:
parent
57170c71ca
commit
7930055c11
41
.gitea/workflows/build_push.yml
Normal file
41
.gitea/workflows/build_push.yml
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
name: Build and Push Image
|
||||||
|
on: [ push ]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
name: Build and push image
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
container: catthehacker/ubuntu:act-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Create Kubeconfig
|
||||||
|
run: |
|
||||||
|
mkdir $HOME/.kube
|
||||||
|
echo "${{ secrets.KUBEC_CONFIG_BUILDX }}" > $HOME/.kube/config
|
||||||
|
|
||||||
|
- name: Set up Docker Buildx
|
||||||
|
uses: docker/setup-buildx-action@v3
|
||||||
|
with:
|
||||||
|
driver: kubernetes
|
||||||
|
driver-opts: |
|
||||||
|
namespace=gitea-runner
|
||||||
|
qemu.install=true
|
||||||
|
|
||||||
|
- name: Login to Docker Registry
|
||||||
|
uses: docker/login-action@v3
|
||||||
|
with:
|
||||||
|
registry: git.aridgwayweb.com
|
||||||
|
username: armistace
|
||||||
|
password: ${{ secrets.REG_PASSWORD }}
|
||||||
|
|
||||||
|
- name: Build and push
|
||||||
|
uses: docker/build-push-action@v5
|
||||||
|
with:
|
||||||
|
context: .
|
||||||
|
push: true
|
||||||
|
platforms: linux/amd64,linux/arm64
|
||||||
|
tags: |
|
||||||
|
git.aridwayweb.com/armistace/blog:latest
|
@ -11,4 +11,5 @@ RUN pip install -r requirements.txt
|
|||||||
RUN apt-get update && apt-get install -y make
|
RUN apt-get update && apt-get install -y make
|
||||||
|
|
||||||
RUN make html
|
RUN make html
|
||||||
|
|
||||||
ENTRYPOINT ["make", "serve-global"]
|
ENTRYPOINT ["make", "serve-global"]
|
||||||
|
10
src/content/building_the_cluster.md
Normal file
10
src/content/building_the_cluster.md
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
Title: Building a 5 node Proxmox cluster!
|
||||||
|
Date: 2024-07-24 20:00
|
||||||
|
Modified: 2024-07-24 20:00
|
||||||
|
Category: Server Architecture
|
||||||
|
Tags: proxmox, kubernetes, hardware
|
||||||
|
Slug: proxmox-cluster-1
|
||||||
|
Authors: Andrew Ridgway
|
||||||
|
Summary: I'm upgrading our hardware at home and this blog will chronicle the journey from a simple docker-compose single node zerver to 5 node proxmox cluster with a 3 node kubernetes cluster virtualised over the top
|
||||||
|
|
||||||
|
So this one will likely be a long series of posts as I have a feeling this is going to be a bit of an on going saga but I thought with the bit of downtime I had I would start to chronicle the journey
|
Loading…
x
Reference in New Issue
Block a user