@@ -0,0 +1,36 @@
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- ".gitea/**"
|
||||
- "pbs-client/**"
|
||||
schedule:
|
||||
- cron: "0 16 * * Sun"
|
||||
|
||||
jobs:
|
||||
|
||||
build-image:
|
||||
runs-on: ["oci-image-builder", "amd64"]
|
||||
steps:
|
||||
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- 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 Image
|
||||
uses: ./.gitea/limbo_actions/buildkit-build-push
|
||||
with:
|
||||
registry_addr: ${{ vars.OCI_LIMBO_DOCKER_REGISTRY_ADDRESS }}
|
||||
registry_username: ${{ secrets.OCI_LIMBO_DOCKER_REGISTRY_USERNAME }}
|
||||
registry_password: ${{ secrets.OCI_LIMBO_DOCKER_REGISTRY_PASSWORD }}
|
||||
buildkit_addr: ${{ vars.BUILDKIT_ADDRESS }}
|
||||
context: ./pbs-client
|
||||
dockerfile: ./pbs-client/docker
|
||||
tags: oci.limbosolutions.com/public/pbs-client:latest
|
||||
|
||||
|
||||
Reference in New Issue
Block a user