add_workflow
Some checks failed
Build and Push Image / Build and push image (push) Failing after 6m42s

This commit is contained in:
Andrew Ridgway 2024-08-13 13:47:31 +10:00
parent 57170c71ca
commit 7930055c11
3 changed files with 52 additions and 0 deletions

View 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

View File

@ -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"]

View 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