peertube/.forgejo/workflows/docker.yml
samuel-p 1e20831f86
Some checks failed
Build and Push Docker image / Build and Push Docker image (push) Failing after 35s
updated pipeline
2025-03-09 20:25:46 +01:00

36 lines
997 B
YAML

name: Build and Push Docker image
on:
push:
branches:
- main
jobs:
docker:
name: Build and Push Docker image
runs-on: docker-cli
# container:
# image: ghcr.io/catthehacker/ubuntu:act-latest
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: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build and push
uses: docker/build-push-action@v6
with:
push: true
tags: |
spcodes/peertube:latest
cr.sp-codes.de/sp-codes/peertube:latest