feature/buid-Kaniko #1

Merged
marcio.fernandes merged 39 commits from feature/buid-Kaniko into main 2026-03-15 00:25:36 +00:00
Showing only changes of commit 8b13274bf2 - Show all commits

View File

@@ -13,20 +13,23 @@ jobs:
runs-on: oci-image-builder
steps:
- name: Start BuildKit
run: |
buildkitd --oci-worker-no-process-sandbox --root /tmp/buildkit &
sleep 3
- name: Checkout code
uses: actions/checkout@v4
- name: Login to Gitea registry
run: |
echo "${{ secrets.REGISTRY_PASSWORD }}" | \
docker login git.limbosolutions.com \
--username "${{ secrets.REGISTRY_USERNAME }}" \
--password-stdin
- name: Build and push image with Kaniko
uses: int128/kaniko-action@v1
with:
registry: git.limbosolutions.com
username: ${{ secrets.GITLIMBO_DOCKER_REGISTRY_USERNAME }}
password: ${{ secrets.GITLIMBO_DOCKER_REGISTRY_PASSWORD }}
- name: Build and push image
run: |
buildctl build \
--frontend=dockerfile.v0 \
--local context=/pbsclient \
--local dockerfile=./pbsclient/docker/Dockerfile \
--output type=image,name=git.limbosolutions.com/kb/pbsclient:latest,push=true
# Build context and Dockerfile
context: ./pbsclient
dockerfile: ./pbsclient/docker/Dockerfile
# Image destination
destination: git.limbosolutions.com/kb/pbsclient:latest