CICD - container image build buildkit
Some checks failed
/ build-push-container-image (push) Failing after 13s
Some checks failed
/ build-push-container-image (push) Failing after 13s
This commit is contained in:
37
.gitea/workflows/container-image-deploy.yml
Normal file
37
.gitea/workflows/container-image-deploy.yml
Normal file
@@ -0,0 +1,37 @@
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- "docker/**"
|
||||
- ".gitea/**"
|
||||
schedule:
|
||||
- cron: "0 02 * * *"
|
||||
jobs:
|
||||
|
||||
build-push-container-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 container image
|
||||
uses: ./.gitea/limbo_actions/buildkit-build-push
|
||||
with:
|
||||
tags: git.limbosolutions.com/kb/ssh-client
|
||||
registry_addr: ${{ vars.GITLIMBO_DOCKER_REGISTRY_ADDRESS }}
|
||||
registry_username: ${{ secrets.GITLIMBO_DOCKER_REGISTRY_USERNAME }}
|
||||
registry_password: ${{ secrets.GITLIMBO_DOCKER_REGISTRY_PASSWORD }}
|
||||
buildkit_addr: ${{ vars.BUILDKIT_ADDRESS }}
|
||||
dockerfile: ${{gitea.workspace}}/docker/ssh-client
|
||||
filename: nginx-geoip.Dockerfile
|
||||
context: .
|
||||
|
||||
|
||||
Reference in New Issue
Block a user