Compare commits

..

No commits in common. "main" and "master" have entirely different histories.
main ... master

5 changed files with 123 additions and 49 deletions

116
.drone.yml Normal file
View 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

View file

@ -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

View file

@ -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

View file

@ -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)
[![Build Status](https://ci.sp-codes.de/api/badges/sp-codes/connectivity-check/status.svg)](https://ci.sp-codes.de/sp-codes/connectivity-check) [![License](https://img.shields.io/badge/license-MIT-orange)](#license) [![Docker Pulls](https://img.shields.io/docker/pulls/spcodes/connectivity-check)](https://hub.docker.com/r/spcodes/connectivity-check)
[![Build Status](https://ci.sp-codes.de/api/badges/samuel-p/connectivity-check/status.svg)](https://ci.sp-codes.de/samuel-p/connectivity-check) [![License](https://img.shields.io/badge/license-MIT-orange)](#license) [![Docker Pulls](https://img.shields.io/docker/pulls/samuelph/connectivity-check)](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

View file

@ -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"
}