From 3712078e7637e6e9a1e671f61ad32b770980dba6 Mon Sep 17 00:00:00 2001 From: Simon Gerber Date: Fri, 17 Jan 2025 10:35:27 +0100 Subject: [PATCH] Remove `Dockerfile.kapitan` We've not used the custom `projectsyn/kapitan` image for a while since we've switched to the upstream kapitan container image for the Project Syn ArgoCD kapitan plugin sidecar. For older Project Syn installations, the old `projectsyn/kapitan` container images remain available on Dockerhub. --- .github/workflows/push-kapitan.yml | 28 ---------------------------- tools/Dockerfile.kapitan | 13 ------------- 2 files changed, 41 deletions(-) delete mode 100644 .github/workflows/push-kapitan.yml delete mode 100644 tools/Dockerfile.kapitan diff --git a/.github/workflows/push-kapitan.yml b/.github/workflows/push-kapitan.yml deleted file mode 100644 index 658264c6a..000000000 --- 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 34c948dad..000000000 --- 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