Compare commits
2 Commits
27d2f05a3d
...
26266017c2
| Author | SHA1 | Date | |
|---|---|---|---|
|
26266017c2
|
|||
|
c6fa393c03
|
@@ -44,6 +44,7 @@ jobs:
|
|||||||
tags: |
|
tags: |
|
||||||
git.plabble.org/job79/fedora:${{ github.ref_name }}
|
git.plabble.org/job79/fedora:${{ github.ref_name }}
|
||||||
git.plabble.org/job79/fedora:latest
|
git.plabble.org/job79/fedora:latest
|
||||||
|
outputs: type=image,oci-mediatypes=true,compression=zstd,compression-level=3,force-compression=true
|
||||||
- name: Build and push go container
|
- name: Build and push go container
|
||||||
uses: docker/build-push-action@v5
|
uses: docker/build-push-action@v5
|
||||||
with:
|
with:
|
||||||
@@ -53,6 +54,7 @@ jobs:
|
|||||||
tags: |
|
tags: |
|
||||||
git.plabble.org/job79/go:${{ github.ref_name }}
|
git.plabble.org/job79/go:${{ github.ref_name }}
|
||||||
git.plabble.org/job79/go:latest
|
git.plabble.org/job79/go:latest
|
||||||
|
outputs: type=image,oci-mediatypes=true,compression=zstd,compression-level=3,force-compression=true
|
||||||
- name: Build and push infra container
|
- name: Build and push infra container
|
||||||
uses: docker/build-push-action@v5
|
uses: docker/build-push-action@v5
|
||||||
with:
|
with:
|
||||||
@@ -62,3 +64,4 @@ jobs:
|
|||||||
tags: |
|
tags: |
|
||||||
git.plabble.org/job79/infra:${{ github.ref_name }}
|
git.plabble.org/job79/infra:${{ github.ref_name }}
|
||||||
git.plabble.org/job79/infra:latest
|
git.plabble.org/job79/infra:latest
|
||||||
|
outputs: type=image,oci-mediatypes=true,compression=zstd,compression-level=3,force-compression=true
|
||||||
|
|||||||
@@ -32,3 +32,4 @@ jobs:
|
|||||||
tags: |
|
tags: |
|
||||||
git.plabble.org/job79/kali:${{ github.ref_name }}
|
git.plabble.org/job79/kali:${{ github.ref_name }}
|
||||||
git.plabble.org/job79/kali:latest
|
git.plabble.org/job79/kali:latest
|
||||||
|
outputs: type=image,oci-mediatypes=true,compression=zstd,compression-level=3,force-compression=true
|
||||||
|
|||||||
@@ -4,6 +4,7 @@
|
|||||||
export EDITOR=nvim \
|
export EDITOR=nvim \
|
||||||
WAYLAND_DISPLAY=wayland-0 \
|
WAYLAND_DISPLAY=wayland-0 \
|
||||||
XDG_RUNTIME_DIR=/run/user/1000 \
|
XDG_RUNTIME_DIR=/run/user/1000 \
|
||||||
|
SSH_AUTH_SOCK=/run/user/1000/ssh-auth-sock \
|
||||||
PS1="\[\e[30;46m\] \h | \w \[\e[0;36m\]\[\e[m\] " \
|
PS1="\[\e[30;46m\] \h | \w \[\e[0;36m\]\[\e[m\] " \
|
||||||
TZ="Europe/Amsterdam"
|
TZ="Europe/Amsterdam"
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
[user]
|
[user]
|
||||||
email = job@plabble.org
|
email = job@plabble.org
|
||||||
name = Job79
|
name = Job79
|
||||||
signingKey = ~/.ssh/id_ed25519.pub
|
signingKey = ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPsqM6ABAaCTQZ+llFXD3CXrYYuIHDEnvz8IBbXddYEc job@plabble.org
|
||||||
[gpg]
|
[gpg]
|
||||||
format = ssh
|
format = ssh
|
||||||
[commit]
|
[commit]
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
arg "-v $HOME/Documents/devc/go:/home/user/projects"
|
arg "-v $HOME/Documents/containers/go:/home/user/projects"
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
arg "-v $HOME/Documents/devc/infra:/home/user/projects"
|
arg "-v $HOME/Documents/containers/infra:/home/user/projects"
|
||||||
|
|||||||
3
devc.sh
3
devc.sh
@@ -29,6 +29,9 @@ default_args() {
|
|||||||
# clipboard (wl-copy) and gui applications working.
|
# clipboard (wl-copy) and gui applications working.
|
||||||
[ -e "/run/user/$UID/wayland-0" ] && arg "-v /run/user/$UID/wayland-0:/run/user/1000/wayland-0"
|
[ -e "/run/user/$UID/wayland-0" ] && arg "-v /run/user/$UID/wayland-0:/run/user/1000/wayland-0"
|
||||||
|
|
||||||
|
# Mount the ssh socket to get ssh working.
|
||||||
|
[ -e "$SSH_AUTH_SOCK" ] && arg "-v $SSH_AUTH_SOCK:/run/user/1000/ssh-auth-sock"
|
||||||
|
|
||||||
# Make the user home dir a volume so it survives container
|
# Make the user home dir a volume so it survives container
|
||||||
# restarts. Use copy to keep the homedir files from the image.
|
# restarts. Use copy to keep the homedir files from the image.
|
||||||
arg "-v $name:/home/user:copy"
|
arg "-v $name:/home/user:copy"
|
||||||
|
|||||||
Reference in New Issue
Block a user