diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml deleted file mode 100644 index 95c47e9..0000000 --- a/.gitea/workflows/deploy.yml +++ /dev/null @@ -1,17 +0,0 @@ -# .gitea/workflows/publish.yml -name: Publish Action Image - -on: - push: - branches: [main] - -jobs: - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - - name: Build and push action image - run: | - docker build -t registry.container-registry.svc.cluster.local:5000/infra/kforge:latest . - docker push registry.container-registry.svc.cluster.local:5000/infra/kforge:latest diff --git a/.gitea/workflows/publish.yml b/.gitea/workflows/publish.yml index c6e10b4..9cc5a04 100644 --- a/.gitea/workflows/publish.yml +++ b/.gitea/workflows/publish.yml @@ -1,8 +1,8 @@ # Builds and pushes the kforge Docker action image on every push to main. # Other repos reference this image via: -# action_ref: registry.natelubitz.com/infra/kforge:latest +# action_ref: registry.container-registry.svc.cluster.local:5000/infra/kforge:latest # in their kforge.yml, which generates: -# uses: docker://registry.natelubitz.com/infra/kforge:latest +# uses: docker://registry.container-registry.svc.cluster.local:5000/infra/kforge:latest name: Publish Action Image @@ -18,17 +18,9 @@ jobs: - name: Checkout uses: actions/checkout@v4 - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 - - name: Build and push kforge action image - uses: docker/build-push-action@v5 - with: - context: . - platforms: linux/amd64 - push: true - tags: | - registry.container-registry.svc.cluster.local:5000/infra/kforge:latest - registry.container-registry.svc.cluster.local:5000/infra/kforge:${{ gitea.sha }} - provenance: false - sbom: false + env: + DOCKER_BUILDKIT: "0" + run: | + docker build -t registry.container-registry.svc.cluster.local:5000/infra/kforge:latest . + docker push registry.container-registry.svc.cluster.local:5000/infra/kforge:latest diff --git a/kforge.yml b/kforge.yml index ee94e2f..247218b 100644 --- a/kforge.yml +++ b/kforge.yml @@ -3,8 +3,8 @@ meta: tenant: nate-lubitz registry: - url: registry.natelubitz.com - pull_secret: regcred + url: registry.container-registry.svc.cluster.local:5000 + insecure: true dns: target: ${KFORGE_NODE_IP}