This repository has been archived on 2024-02-28. You can view files and clone it, but cannot push or open issues or pull requests.
coturn/.forgejo/workflows/docker.yml
Samuel Philipp e0c0f9c7ec
All checks were successful
Build and Push Docker image / Build and Push Docker image (push) Successful in 6m43s
removed arm support
2023-12-08 01:35:09 +01:00

35 lines
922 B
YAML

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