Skip to content

Commit

Permalink
Merge other repos into this.
Browse files Browse the repository at this point in the history
  • Loading branch information
martafolf authored Oct 22, 2024
1 parent 2377e81 commit 5be9b37
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/action.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build and Push Docker Image
name: Build and Push Docker Images

on:
push:
Expand All @@ -9,6 +9,14 @@ on:
jobs:
build-and-push:
runs-on: ubuntu-latest
strategy:
matrix:
dockerfile:
- Dockerfile.dnsmasq
- Dockerfile.netshoot
name:
- dnsmasq
- netshoot

steps:
- name: Checkout Repository
Expand All @@ -28,6 +36,6 @@ jobs:
uses: docker/build-push-action@v5
with:
context: .
file: ./Dockerfile
file: ./${{ matrix.dockerfile }}
push: true
tags: ghcr.io/${{ github.repository }}/dnsmasq:latest
tags: ghcr.io/${{ github.repository }}/${{ matrix.name }}:latest
File renamed without changes.
5 changes: 5 additions & 0 deletions Dockerfile.netshoot
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
FROM ghcr.io/nicolaka/netshoot:v0.13

RUN apk add htop smartmontools nvme-cli iotop lm-sensors hdparm
RUN mkdir -p /root/.config/htop/
RUN echo "IyBCZXdhcmUhIFRoaXMgZmlsZSBpcyByZXdyaXR0ZW4gYnkgaHRvcCB3aGVuIHNldHRpbmdzIGFyZSBjaGFuZ2VkIGluIHRoZSBpbnRlcmZhY2UuCiMgVGhlIHBhcnNlciBpcyBhbHNvIHZlcnkgcHJpbWl0aXZlLCBhbmQgbm90IGh1bWFuLWZyaWVuZGx5LgpodG9wX3ZlcnNpb249My4zLjAKY29uZmlnX3JlYWRlcl9taW5fdmVyc2lvbj0zCmZpZWxkcz0wIDQ4IDE3IDE4IDM4IDM5IDQwIDIgNDYgNDcgNDkgMQpoaWRlX2tlcm5lbF90aHJlYWRzPTEKaGlkZV91c2VybGFuZF90aHJlYWRzPTAKaGlkZV9ydW5uaW5nX2luX2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