Compare commits

..

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

4 changed files with 119 additions and 47 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,32 +0,0 @@
name: Build and Push Docker image
on:
push:
branches:
- main
jobs:
docker:
name: Build and Push Docker image
runs-on: docker
container:
image: ghcr.io/catthehacker/ubuntu:act-latest
steps:
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Login to cr.sp-codes.de
uses: docker/login-action@v2
with:
registry: cr.sp-codes.de
username: ${{ secrets.CR_USERNAME }}
password: ${{ secrets.CR_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v4
with:
push: true
tags: |
samuelph/connectivity-check:latest
cr.sp-codes.de/samuel-p/connectivity-check:latest

View file

@ -1,3 +1,3 @@
FROM nginx:1.27.2-alpine@sha256:74175cf34632e88c6cfe206897cbfe2d2fecf9bf033c40e7f9775a3689e8adc7 FROM nginx:1.19.9-alpine
COPY nginx.conf /etc/nginx/nginx.conf COPY nginx.conf /etc/nginx/nginx.conf

View file

@ -1,21 +1,9 @@
{ {
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"assignees": [ "assignees": [
"samuel-p" "samuel-p"
], ],
"baseBranches": [ "baseBranches": [
"main" "master"
], ],
"rangeStrategy": "bump", "rangeStrategy": "bump"
"rebaseWhen": "behind-base-branch",
"automergeType": "branch",
"ignoreTests": true,
"packageRules": [
{
"datasources": [
"docker"
],
"automerge": true
}
]
} }