diff --git a/.github/workflows/push-kapitan.yml b/.github/workflows/push-kapitan.yml deleted file mode 100644 index 658264c6..00000000 --- a/.github/workflows/push-kapitan.yml +++ /dev/null @@ -1,28 +0,0 @@ -name: Build & Push Kapitan Image -on: - workflow_dispatch: {} - push: - branches: - - master - paths: - - tools/Dockerfile.kapitan - -jobs: - build: - runs-on: ubuntu-latest - env: - IMAGE: docker.io/projectsyn/kapitan - steps: - - uses: actions/checkout@v4 - - name: Set image version - run: | - echo "VERSION=$(grep "KAPITAN_VERSION=" tools/Dockerfile.kapitan | cut -d= -f2)" >> ${GITHUB_ENV} - - name: Build image - run: docker build -f tools/Dockerfile.kapitan -t ${IMAGE}:${VERSION} tools/ - - name: Push image - env: - DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }} - DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }} - run: | - docker login docker.io --username "${DOCKER_USERNAME}" --password "${DOCKER_PASSWORD}" - docker push "${IMAGE}:${VERSION}" diff --git a/tools/Dockerfile.kapitan b/tools/Dockerfile.kapitan deleted file mode 100644 index 34c948da..00000000 --- a/tools/Dockerfile.kapitan +++ /dev/null @@ -1,13 +0,0 @@ -# Pushed to docker.io/projectsyn/kapitan:${KAPITAN_VERSION} - -FROM docker.io/alpine:3.20 - -ENV KAPITAN_VERSION=v0.29.5 - -RUN apk add --no-cache \ - ca-certificates \ - curl \ - && curl -Lo /usr/local/bin/kapitan https://github.com/deepmind/kapitan/releases/download/${KAPITAN_VERSION}/kapitan-linux-amd64 \ - && chmod +x /usr/local/bin/kapitan - -USER 10001