limbosolutions.com docker registry
This commit is contained in:
29
.gitea/workflows/docker-image.deploy.yml
Normal file
29
.gitea/workflows/docker-image.deploy.yml
Normal 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
|
||||
@@ -4,13 +4,13 @@
|
||||
|
||||
check version and configure options (includes modules)
|
||||
|
||||
```
|
||||
```bash
|
||||
nginx -V
|
||||
```
|
||||
|
||||
list modules
|
||||
|
||||
```
|
||||
```bash
|
||||
ls /usr/lib/nginx/modules
|
||||
```
|
||||
|
||||
@@ -26,8 +26,7 @@ Modules
|
||||
|
||||
[Custom Docker Image](docker/nginx-geoip.Dockerfile)
|
||||
|
||||
|
||||
```
|
||||
```bash
|
||||
git clone ssh://git@git.limbosolutions.com:2222/kb/nginx.git
|
||||
cd nginx
|
||||
docker build . -f nginx-geoip.Dockerfile -t nginx-geoip:latest
|
||||
@@ -42,5 +41,3 @@ Images -> Build a new Image -> URL
|
||||
**URL:** https://git.limbosolutions.com/kb/nginx.git
|
||||
|
||||
**Dockerfile path:** docker/nginx-geoip.Dockerfile
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user