fix build issue with cache causing pacman problems
All checks were successful
Gitea Actions Demo / build-arch-toolbox (push) Successful in 6m9s
All checks were successful
Gitea Actions Demo / build-arch-toolbox (push) Successful in 6m9s
This commit is contained in:
@@ -347,8 +347,8 @@ You can build and run the image wit this (See `Containerfile` in this directory)
|
||||
```bash
|
||||
# Build latest image
|
||||
podman build \
|
||||
--no-cache \
|
||||
-t gitea.reeseapps.com/services/arch-toolbox:latest \
|
||||
-t gitea.reeseapps.com/services/arch-toolbox:$(date +%s) \
|
||||
-f ./infrastructure/graduated/fedora/Containerfile
|
||||
|
||||
# Test with podman
|
||||
@@ -363,16 +363,6 @@ toolbox create -i gitea.reeseapps.com/services/arch-toolbox:latest
|
||||
SHELL=/bin/zsh toolbox enter
|
||||
```
|
||||
|
||||
You can push the image up to your registry like normal:
|
||||
|
||||
```bash
|
||||
# Push all tags for the "latest" image
|
||||
podman image ls \
|
||||
-f 'reference=gitea.reeseapps.com/services/arch-toolbox:latest' \
|
||||
-n --no-trunc --format '{{ .Repository }}:{{ .Tag }}' \
|
||||
| xargs -I {} podman push {}
|
||||
```
|
||||
|
||||
In vscode you can set this as your default build task for homelab and trigger it with
|
||||
`ctrl shift B`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user