Compare commits
No commits in common. "main" and "master" have entirely different histories.
5 changed files with 123 additions and 49 deletions
116
.drone.yml
Normal file
116
.drone.yml
Normal file
|
@ -0,0 +1,116 @@
|
|||
kind: pipeline
|
||||
type: docker
|
||||
name: linux-amd64
|
||||
|
||||
platform:
|
||||
os: linux
|
||||
arch: amd64
|
||||
|
||||
steps:
|
||||
- name: docker
|
||||
image: plugins/docker
|
||||
settings:
|
||||
auto_tag: true
|
||||
auto_tag_suffix: linux-amd64
|
||||
repo: samuelph/connectivity-check
|
||||
username:
|
||||
from_secret: USERNAME
|
||||
password:
|
||||
from_secret: PASSWORD
|
||||
|
||||
trigger:
|
||||
branch:
|
||||
- master
|
||||
event:
|
||||
- push
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: linux-arm64
|
||||
|
||||
platform:
|
||||
os: linux
|
||||
arch: arm64
|
||||
|
||||
steps:
|
||||
- name: docker
|
||||
image: plugins/docker
|
||||
settings:
|
||||
auto_tag: true
|
||||
auto_tag_suffix: linux-arm64
|
||||
repo: samuelph/connectivity-check
|
||||
username:
|
||||
from_secret: USERNAME
|
||||
password:
|
||||
from_secret: PASSWORD
|
||||
|
||||
trigger:
|
||||
branch:
|
||||
- master
|
||||
event:
|
||||
- push
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: linux-arm
|
||||
|
||||
platform:
|
||||
os: linux
|
||||
arch: arm
|
||||
|
||||
steps:
|
||||
- name: docker
|
||||
image: plugins/docker
|
||||
settings:
|
||||
auto_tag: true
|
||||
auto_tag_suffix: linux-arm
|
||||
repo: samuelph/connectivity-check
|
||||
username:
|
||||
from_secret: USERNAME
|
||||
password:
|
||||
from_secret: PASSWORD
|
||||
|
||||
trigger:
|
||||
branch:
|
||||
- master
|
||||
event:
|
||||
- push
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: manifest
|
||||
|
||||
platform:
|
||||
os: linux
|
||||
arch: arm64
|
||||
|
||||
steps:
|
||||
- name: publish
|
||||
image: plugins/manifest
|
||||
settings:
|
||||
auto_tag: true
|
||||
ignore_missing: true
|
||||
target: samuelph/connectivity-check
|
||||
template: samuelph/connectivity-check:OS-ARCH
|
||||
platforms:
|
||||
- linux/amd64
|
||||
- linux/arm64
|
||||
- linux/arm
|
||||
username:
|
||||
from_secret: USERNAME
|
||||
password:
|
||||
from_secret: PASSWORD
|
||||
|
||||
depends_on:
|
||||
- linux-amd64
|
||||
- linux-arm64
|
||||
- linux-arm
|
||||
|
||||
trigger:
|
||||
branch:
|
||||
- master
|
||||
event:
|
||||
- push
|
|
@ -1,30 +0,0 @@
|
|||
name: Build and Push Docker image
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
docker:
|
||||
name: Build and Push Docker image
|
||||
runs-on: docker
|
||||
steps:
|
||||
- name: Login to Docker Hub
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
- name: Login to cr.sp-codes.de
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: cr.sp-codes.de
|
||||
username: ${{ secrets.CR_USERNAME }}
|
||||
password: ${{ secrets.CR_TOKEN }}
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
push: true
|
||||
tags: |
|
||||
spcodes/connectivity-check:latest
|
||||
cr.sp-codes.de/sp-codes/connectivity-check:latest
|
|
@ -1,3 +1,3 @@
|
|||
FROM nginx:1.27.4-alpine@sha256:4ff102c5d78d254a6f0da062b3cf39eaf07f01eec0927fd21e219d0af8bc0591
|
||||
FROM nginx:1.19.9-alpine
|
||||
|
||||
COPY nginx.conf /etc/nginx/nginx.conf
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# [connectivity-check](https://git.sp-codes.de/sp-codes/connectivity-check)
|
||||
# [connectivity-check](https://git.sp-codes.de/samuel-p/connectivity-check)
|
||||
|
||||
[](https://ci.sp-codes.de/sp-codes/connectivity-check) [](#license) [](https://hub.docker.com/r/spcodes/connectivity-check)
|
||||
[](https://ci.sp-codes.de/samuel-p/connectivity-check) [](#license) [](https://hub.docker.com/r/samuelph/connectivity-check)
|
||||
|
||||
A self-hosted captive portal connectivity check.
|
||||
|
||||
|
@ -9,7 +9,7 @@ A self-hosted captive portal connectivity check.
|
|||
Just run the following command:
|
||||
|
||||
```bash
|
||||
docker run -d -p 80:80 -p 443:443 spcodes/connectivity-check
|
||||
docker run -d -p 80:80 -p 443:443 samuelph/connectivity-check
|
||||
```
|
||||
|
||||
Or with docker-compose:
|
||||
|
@ -19,7 +19,7 @@ version: '3.4'
|
|||
|
||||
services:
|
||||
connectivitycheck:
|
||||
image: spcodes/connectivity-check
|
||||
image: samuelph/connectivity-check
|
||||
restart: always
|
||||
ports:
|
||||
- 80:80
|
||||
|
|
|
@ -1,21 +1,9 @@
|
|||
{
|
||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||
"assignees": [
|
||||
"samuel-p"
|
||||
],
|
||||
"baseBranches": [
|
||||
"main"
|
||||
"master"
|
||||
],
|
||||
"rangeStrategy": "bump",
|
||||
"rebaseWhen": "behind-base-branch",
|
||||
"automergeType": "branch",
|
||||
"ignoreTests": true,
|
||||
"packageRules": [
|
||||
{
|
||||
"datasources": [
|
||||
"docker"
|
||||
],
|
||||
"automerge": true
|
||||
}
|
||||
]
|
||||
"rangeStrategy": "bump"
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue