This commit is contained in:
parent
79282fc2c7
commit
fd92273118
4 changed files with 4 additions and 6 deletions
4
.github/workflows/test.yaml
vendored
4
.github/workflows/test.yaml
vendored
|
@ -22,8 +22,6 @@ jobs:
|
||||||
experimental: true
|
experimental: true
|
||||||
- name: Setup Environment
|
- name: Setup Environment
|
||||||
working-directory: .tools
|
working-directory: .tools
|
||||||
run: |-
|
run: mise run build
|
||||||
mise run build
|
|
||||||
docker pull ghcr.io/jaredallard/overlay:updater
|
|
||||||
- name: Run linter
|
- name: Run linter
|
||||||
run: mise run lint
|
run: mise run lint
|
||||||
|
|
|
@ -37,7 +37,7 @@ import (
|
||||||
var manifestValidationScript []byte
|
var manifestValidationScript []byte
|
||||||
|
|
||||||
// gentooImage is the docker image used for validating Manifest files.
|
// gentooImage is the docker image used for validating Manifest files.
|
||||||
var gentooImage = "ghcr.io/jaredallard/overlay:updater"
|
var gentooImage = "git.rgst.io/jaredallard/overlay:updater"
|
||||||
|
|
||||||
// Common errors.
|
// Common errors.
|
||||||
var (
|
var (
|
||||||
|
|
|
@ -98,7 +98,7 @@ func (e *Executor) Run(ctx context.Context) (*Results, error) {
|
||||||
// is much better.
|
// is much better.
|
||||||
bid, err := exec.Command(
|
bid, err := exec.Command(
|
||||||
"docker", "run", "--init", "-d", "--rm", "--entrypoint", "sleep",
|
"docker", "run", "--init", "-d", "--rm", "--entrypoint", "sleep",
|
||||||
"ghcr.io/jaredallard/overlay:updater", "infinity",
|
"git.rgst.io/jaredallard/overlay:updater", "infinity",
|
||||||
).Output()
|
).Output()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
var execErr *exec.ExitError
|
var execErr *exec.ExitError
|
||||||
|
|
|
@ -13,7 +13,7 @@ if [[ ! -d "$ebuild_path" ]]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
imageName="ghcr.io/jaredallard/overlay:updater"
|
imageName="git.rgst.io/jaredallard/overlay:updater"
|
||||||
|
|
||||||
# Build the image if it doesn't already exist in the cache.
|
# Build the image if it doesn't already exist in the cache.
|
||||||
if ! docker image inspect "$imageName" >/dev/null; then
|
if ! docker image inspect "$imageName" >/dev/null; then
|
||||||
|
|
Loading…
Add table
Reference in a new issue