limbosolutions.com docker registry

This commit is contained in:
2024-09-15 05:48:13 +01:00
parent d4726a004b
commit a4066972c1
2 changed files with 33 additions and 7 deletions

View File

@@ -0,0 +1,29 @@
on:
push:
paths:
- "docker/**"
- ".gitea/**"
jobs:
build-docker-image:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Log in to git.limbosolutions.com docker registry
uses: docker/login-action@v3
with:
registry: git.limbosolutions.com
username: ${{ secrets.GITLIMBO_DOCKER_REGISTRY_USERNAME }}
password: ${{ secrets.GITLIMBO_DOCKER_REGISTRY_PASSWORD }}
- name: Build and push Docker images
id: push
uses: docker/build-push-action@v6
with:
context: ${{gitea.workspace}}/docker
push: true
tags: git.limbosolutions.com/kb/nginx:latest