removed ansible image: using alpine/ansible
This commit is contained in:
1 parent
152756d40e
commit
1d59608bcc
4 files changed
-48
No files matched your search
@@ -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
|
||||
|
||||
@@ -2,8 +2,3 @@
|
||||
|
||||
Welcome to ansible kb git repo.
|
||||
|
||||
## Docker
|
||||
|
||||
``` bash
|
||||
docker pull oci.limbosolutions.com/public/ansible:latest
|
||||
```
|
||||
@@ -1,2 +0,0 @@
|
||||
playbook-workspace/**
|
||||
workspace/**
|
||||
@@ -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
|
||||
Reference in new issue
Block a user