File tree Expand file tree Collapse file tree 5 files changed +9
-9
lines changed Expand file tree Collapse file tree 5 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -15,11 +15,11 @@ jobs:
1515 uses : actions/checkout@v4
1616 - name : Run podman build - base
1717 run : |
18- podman build -t ghcr.io/gbraad-homelab/private- forgejo/bootc:latest \
18+ podman build -t ghcr.io/gbraad-homelab/forgejo/bootc:latest \
1919 --build-arg=BASE_IMAGE="ghcr.io/gbraad-homelab/private-base/bootc" \
2020 --build-arg=BASE_VERSION="latest" \
2121 -f containers/Containerfile .
2222 - name : Push image to ghcr.io - base
2323 run : |
2424 podman push --creds=${{ github.actor }}:${{ secrets.GITHUB_TOKEN }} \
25- ghcr.io/gbraad-homelab/private- forgejo/bootc:latest
25+ ghcr.io/gbraad-homelab/forgejo/bootc:latest
Original file line number Diff line number Diff line change 1414 - name : Check out repository code
1515 uses : actions/checkout@v4
1616 - name : Run podman build - base
17- run : podman build -t ghcr.io/gbraad-homelab/private- forgejo:latest -f containers/Containerfile .
17+ run : podman build -t ghcr.io/gbraad-homelab/forgejo:latest -f containers/Containerfile .
1818 - name : Push image to ghcr.io - base
19- run : podman push --creds=${{ github.actor }}:${{ secrets.GITHUB_TOKEN }} ghcr.io/gbraad-homelab/private- forgejo:latest
19+ run : podman push --creds=${{ github.actor }}:${{ secrets.GITHUB_TOKEN }} ghcr.io/gbraad-homelab/forgejo:latest
Original file line number Diff line number Diff line change 33 workflow_dispatch :
44
55env :
6- IMAGE_NAME : ghcr.io/gbraad-homelab/private- forgejo/bootc:latest
6+ IMAGE_NAME : ghcr.io/gbraad-homelab/forgejo/bootc:latest
77 DISK_TYPE : qcow2
88 ROOTFS : xfs
99 ARCH : amd64
2222
2323 steps :
2424 - name : Remove unwanted stuff
25- uses : gbraad-devenv /remove-unwanted@v1
25+ uses : gbraad-actions /remove-unwanted@v1
2626
2727 - uses : actions/checkout@v4
2828
Original file line number Diff line number Diff line change 88
99 steps :
1010 - name : Remove unwanted stuff
11- uses : gbraad-devenv /remove-unwanted@v1
11+ uses : gbraad-actions /remove-unwanted@v1
1212 - name : Run system container with `podman`
1313 run : |
14- podman run -d --name forgejo --hostname forgejo-${HOSTNAME} --systemd=always --cap-add=NET_RAW --cap-add=NET_ADMIN --cap-add=SYS_ADMIN --device=/dev/net/tun --device=/dev/fuse --cap-add AUDIT_CONTROL ghcr.io/gbraad-homelab/private- forgejo:latest
14+ podman run -d --name forgejo --hostname forgejo-${HOSTNAME} --systemd=always --cap-add=NET_RAW --cap-add=NET_ADMIN --cap-add=SYS_ADMIN --device=/dev/net/tun --device=/dev/fuse --cap-add AUDIT_CONTROL ghcr.io/gbraad-homelab/forgejo:latest
1515 - name : Tailscale setup (root)
1616 run : |
1717 until podman exec forgejo tailscale up --auth-key ${TAILSCALE_AUTHKEY}
Original file line number Diff line number Diff line change @@ -6,5 +6,5 @@ Forgejo for private/internal use in (Bootable) Containers
66$ podman run -d --name forgejo --hostname ${HOSTNAME} -forgejo \
77 --net=ncentre-bridge --ip 10.0.21.150 \
88 --cap-add=NET_ADMIN --cap-add=NET_RAW --device=/dev/net/tun --cap-add AUDIT_CONTROL \
9- ghcr.io/gbraad-homelab/private- forgejo:latest
9+ ghcr.io/gbraad-homelab/forgejo:latest
1010```
You can’t perform that action at this time.
0 commit comments