Compare commits

...

2 commits

Author SHA1 Message Date
63de39a85d Merge remote-tracking branch 'origin/main'
Some checks failed
Build and Push Docker image / Build and Push Docker image (push) Failing after 15s
2023-09-29 18:13:49 +02:00
5f4429946e migrated to actions 2023-09-29 18:13:39 +02:00
3 changed files with 38 additions and 36 deletions

View file

@ -0,0 +1,35 @@
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:
platforms: linux/amd64,linux/arm64/v8
push: true
tags: |
spcodes/coturn:4.6.2
spcodes/coturn:latest
cr.sp-codes.de/sp-codes/coturn:4.6.2
cr.sp-codes.de/sp-codes/coturn:latest

View file

@ -1,34 +0,0 @@
pipeline:
docker:
image: woodpeckerci/plugin-docker-buildx
secrets:
- DOCKER_USERNAME
- DOCKER_PASSWORD
settings:
repo: spcodes/coturn
tags:
- 4.6.2
- latest
when:
branch:
- main
event:
- push
cr:
image: woodpeckerci/plugin-docker-buildx
secrets:
- source: CR_USERNAME
target: DOCKER_USERNAME
- source: CR_PASSWORD
target: DOCKER_PASSWORD
settings:
registry: cr.sp-codes.de
repo: cr.sp-codes.de/sp-codes/coturn
tags:
- 4.6.2
- latest
when:
branch:
- main
event:
- push

View file

@ -1,4 +1,5 @@
{ {
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"assignees": [ "assignees": [
"samuel-p" "samuel-p"
], ],
@ -11,11 +12,11 @@
{ {
"fileMatch": [ "fileMatch": [
"^Dockerfile$", "^Dockerfile$",
"^.woodpecker.yml$" ".forgejo/workflows/docker.yml$"
], ],
"matchStrings": [ "matchStrings": [
"\\s+ENV\\s*COTURN_VERSION=\"(?<currentValue>.*?)\"\\s+", "\\s+ENV\\s*COTURN_VERSION=\"(?<currentValue>.*?)\"\\s+",
"\\s+repo:\\s*\\S*\\/coturn\\s+tags:[-\\s]+(?<currentValue>.*?)\\s+" "coturn:(?<currentValue>[v.0-9]+)"
], ],
"versioningTemplate": "loose", "versioningTemplate": "loose",
"depNameTemplate": "coturn/coturn", "depNameTemplate": "coturn/coturn",