5 Commits

Author SHA1 Message Date
Shaun Setlock
8b84499b36 Add fish function for opening nvim at home directory. 2025-07-01 21:22:46 -04:00
Shaun Setlock
7c73222b5f Add fish functions for a couple nvim aliases. 2025-07-01 10:42:29 -04:00
Shaun Setlock
78cb8b312f Create fish function as alias for exec'ing into dev container. 2025-06-29 20:21:37 -04:00
Shaun Setlock
27ee0b81c3 Change working directory to workspace at the end of docker build.
All checks were successful
Build and Push Docker Image / build-push (push) Successful in 11s
2025-06-29 16:34:55 -04:00
Shaun Setlock
1d1f63a451 Remove arm64 from gitea workflows. 2025-06-29 16:30:46 -04:00
7 changed files with 23 additions and 15 deletions

View File

@@ -15,12 +15,6 @@ jobs:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Log in to Gitea Container Registry - name: Log in to Gitea Container Registry
uses: docker/login-action@v3 uses: docker/login-action@v3
with: with:
@@ -38,7 +32,7 @@ jobs:
with: with:
context: ./tools context: ./tools
push: true push: true
platforms: linux/amd64,linux/arm64 platforms: linux/amd64
tags: | tags: |
gitea.setlock.net/shaun/dev-container:latest gitea.setlock.net/shaun/dev-container:latest
gitea.setlock.net/shaun/dev-container:${{ env.GIT_TAG }} gitea.setlock.net/shaun/dev-container:${{ env.GIT_TAG }}

View File

@@ -14,12 +14,6 @@ jobs:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Log in to Gitea Container Registry - name: Log in to Gitea Container Registry
uses: docker/login-action@v3 uses: docker/login-action@v3
with: with:
@@ -32,6 +26,6 @@ jobs:
with: with:
context: ./tools context: ./tools
push: true push: true
platforms: linux/amd64,linux/arm64 platforms: linux/amd64
tags: | tags: |
gitea.setlock.net/shaun/dev-container:nightly gitea.setlock.net/shaun/dev-container:nightly

5
fish/functions/dev.fish Normal file
View File

@@ -0,0 +1,5 @@
# Defined in - @ line 1
function dev --wraps='docker exec -it mydev fish' --description 'alias dev=docker exec -it mydev fish'
docker exec -it mydev fish
end

5
fish/functions/oo.fish Normal file
View File

@@ -0,0 +1,5 @@
# Defined in - @ line 1
function oo --wraps='nvim ~/Obsidian' --description 'alias oo=nvim ~/Obsidian'
nvim ~/Obsidian
end

5
fish/functions/v.fish Normal file
View File

@@ -0,0 +1,5 @@
# Defined in - @ line 1
function v --wraps='nvim .' --description 'alias v=nvim .'
nvim .
end

5
fish/functions/vh.fish Normal file
View File

@@ -0,0 +1,5 @@
# Defined in - @ line 1
function vh --wraps='nvim ~/' --description 'alias vh=nvim ~/'
nvim ~/
end

View File

@@ -68,7 +68,7 @@ RUN chown -R shaun:shaun /workspace
# Switch to non-root user # Switch to non-root user
USER shaun USER shaun
WORKDIR /home/shaun WORKDIR /workspace
# Avoid container exit. # Avoid container exit.
CMD ["tail", "-f", "/dev/null"] CMD ["tail", "-f", "/dev/null"]