Compare commits
6 commits
27d817ac5b
...
46b9a08eb9
Author | SHA1 | Date | |
---|---|---|---|
|
46b9a08eb9 | ||
5bc93ba132 | |||
f84a6b819b | |||
75a3eda123 | |||
9cee9ab7e5 | |||
3bd42d5253 |
3 changed files with 39 additions and 2 deletions
|
@ -5,7 +5,7 @@ on:
|
|||
branches:
|
||||
- 'main'
|
||||
jobs:
|
||||
test:
|
||||
fatssh:
|
||||
runs-on: docker
|
||||
container: catthehacker/ubuntu:act-latest
|
||||
steps:
|
||||
|
@ -32,4 +32,35 @@ jobs:
|
|||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
push: true
|
||||
file: Dockerfile.fat-ssh
|
||||
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
|
||||
|
||||
|
|
|
@ -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 pip3 install yq --break-system-packages
|
6
Dockerfile.macless-haystack-web
Normal file
6
Dockerfile.macless-haystack-web
Normal 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
|
Loading…
Add table
Reference in a new issue