This commit is contained in:
@@ -11,21 +11,22 @@ jobs:
|
|||||||
|
|
||||||
build-image:
|
build-image:
|
||||||
runs-on: oci-image-builder
|
runs-on: oci-image-builder
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Build and push image with Kaniko
|
- name: Build and push image with Kaniko
|
||||||
uses: aevea/action-kaniko@v1
|
uses: int128/kaniko-action@v1
|
||||||
with:
|
with:
|
||||||
registry: git.limbosolutions.com
|
registry: git.limbosolutions.com
|
||||||
username: ${{ secrets.GITLIMBO_DOCKER_REGISTRY_USERNAME }}
|
username: ${{ secrets.GITLIMBO_DOCKER_REGISTRY_USERNAME }}
|
||||||
password: ${{ secrets.GITLIMBO_DOCKER_REGISTRY_PASSWORD }}
|
password: ${{ secrets.GITLIMBO_DOCKER_REGISTRY_PASSWORD }}
|
||||||
|
|
||||||
# Path to the Dockerfile and build context
|
# Build context and Dockerfile
|
||||||
dockerfile: pbsclient/docker/Dockerfile
|
context: ./pbsclient
|
||||||
path: pbsclient
|
dockerfile: ./pbsclient/docker/Dockerfile
|
||||||
|
|
||||||
# Final image destination
|
# Image destination
|
||||||
destination: git.limbosolutions.com/kb/pbsclient:latest
|
destination: git.limbosolutions.com/kb/pbsclient:latest
|
||||||
Reference in New Issue
Block a user