diff --git a/.gitea/workflows/docker-image.deploy.yml b/.gitea/workflows/docker-image.deploy.yml deleted file mode 100644 index 1f8a1d8..0000000 --- a/.gitea/workflows/docker-image.deploy.yml +++ /dev/null @@ -1,35 +0,0 @@ -on: - push: - branches: - - main - schedule: - - cron: '@weekly' # once per week - -jobs: - - build-docker-image: - runs-on: ["oci-image-builder", "amd64"] - - steps: - - - name: Checkout code - uses: actions/checkout@v2 - - - name: Fetch limbo public actions - env: - RUNNER_TEMP: "${{ runner.temp }}" - WORKSPACE: "${{ gitea.workspace }}" - run: | - curl -fsSL https://git.limbosolutions.com/kb/gitea/raw/branch/main/cloud-scripts/setup-limbo-actions.sh | bash 2>&1 - - - - name: Build and push oci image - uses: ./.gitea/limbo_actions/buildkit-build-push - with: - registry_addr: ${{ vars.OCI_LIMBO_REGISTRY_ADDRESS }} - registry_username: ${{ secrets.OCI_LIMBO_REGISTRY_USERNAME }} - registry_password: ${{ secrets.OCI_LIMBO_REGISTRY_PASSWORD }} - buildkit_addr: ${{ vars.BUILDKIT_ADDRESS }} - dockerfile: ${{gitea.workspace}}/docker - tags: oci.limbosolutions.com/public/ansible:latest - diff --git a/README.md b/README.md index 546030b..1954a5e 100644 --- a/README.md +++ b/README.md @@ -2,8 +2,3 @@ Welcome to ansible kb git repo. -## Docker - -``` bash -docker pull oci.limbosolutions.com/public/ansible:latest -``` diff --git a/docker/.gitignore b/docker/.gitignore deleted file mode 100644 index 4ac7cc0..0000000 --- a/docker/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -playbook-workspace/** -workspace/** diff --git a/docker/Dockerfile b/docker/Dockerfile deleted file mode 100644 index 133aebb..0000000 --- a/docker/Dockerfile +++ /dev/null @@ -1,6 +0,0 @@ -FROM alpine:latest -RUN apk add --no-cache ansible bash -RUN ansible --version -RUN useradd -m -s /bin/bash ansible -USER ansible -WORKDIR /home/ansible