Compare commits

..

6 commits

Author SHA1 Message Date
Renovate bot
46b9a08eb9 Update debian Docker tag to v12.9 2025-01-15 00:00:22 +00:00
5bc93ba132 Actual html serving
All checks were successful
/ fatssh (push) Successful in 6m9s
/ macless-haystack-web (push) Successful in 1m30s
Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
2025-01-14 18:08:44 +00:00
f84a6b819b upgrade ssh pod and fix download of zip
All checks were successful
/ fatssh (push) Successful in 5m20s
/ macless-haystack-web (push) Successful in 1m44s
Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
2025-01-14 17:23:19 +00:00
75a3eda123 fixups
Some checks failed
/ fatssh (push) Successful in 5m59s
/ macless-haystack-web (push) Failing after 57s
Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
2025-01-14 17:09:45 +00:00
9cee9ab7e5 Update .forgejo/workflows/ci.yaml
Some checks failed
/ macless-haystack-web (push) Failing after 31s
/ fatssh (push) Failing after 47s
2025-01-14 17:00:50 +00:00
3bd42d5253 Lets go!
Some checks failed
/ fatssh (push) Failing after 10m57s
/ macless-haystack-web (push) Failing after 1m39s
Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
2025-01-14 16:46:15 +00:00
3 changed files with 39 additions and 2 deletions

View file

@ -5,7 +5,7 @@ on:
branches: branches:
- 'main' - 'main'
jobs: jobs:
test: fatssh:
runs-on: docker runs-on: docker
container: catthehacker/ubuntu:act-latest container: catthehacker/ubuntu:act-latest
steps: steps:
@ -32,4 +32,35 @@ jobs:
uses: docker/build-push-action@v5 uses: docker/build-push-action@v5
with: with:
push: true push: true
file: Dockerfile.fat-ssh
tags: git.martyn.berlin/martyn/fat-ssh:latest tags: git.martyn.berlin/martyn/fat-ssh:latest
macless-haystack-web:
runs-on: docker
container: catthehacker/ubuntu:act-latest
steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: Create Kubeconfig
run: |
mkdir $HOME/.kube
echo "${{ secrets.KUBECONFIG_BUILDX }}" > $HOME/.kube/config
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
driver: kubernetes
driver-opts: |
namespace=git
qemu.install=false
- name: Login to forgejo
uses: docker/login-action@v3
with:
registry: git.martyn.berlin
username: martyn
password: ${{ secrets.PUSH_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v5
with:
push: true
file: Dockerfile.macless-haystack-web
tags: git.martyn.berlin/martyn/macless-haystack-web:latest

View file

@ -1,4 +1,4 @@
FROM debian:12.8 FROM debian:12.9
RUN apt update && apt install vim tmux jq curl wget less git python3-pip openssh-server zsh dnsutils knot-dnsutils nmap -y RUN apt update && apt install vim tmux jq curl wget less git python3-pip openssh-server zsh dnsutils knot-dnsutils nmap -y
RUN pip3 install yq --break-system-packages RUN pip3 install yq --break-system-packages

View file

@ -0,0 +1,6 @@
FROM nginx AS builder
RUN apt-get update && apt-get install -y unzip
RUN curl https://github.com/dchristl/macless-haystack/releases/download/v2.2.0/webapplication.zip -Lo /tmp/webapplication.zip && cd /tmp/ && unzip webapplication.zip && mv web/* /usr/share/nginx/html/
FROM nginx
COPY --from=builder /usr/share/nginx /usr/share/nginx