Skip to content

Add optional Nextcloud Talk High Performance Backend integration #65

Add optional Nextcloud Talk High Performance Backend integration

Add optional Nextcloud Talk High Performance Backend integration #65

Workflow file for this run

name: Build docker image
on:
push:
branches: ["main"]
workflow_dispatch:
permissions:
contents: read
packages: write
jobs:
docker:
runs-on: ubuntu-latest
concurrency:
group: ${{ github.ref }}-docker
cancel-in-progress: true
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
with:
driver: docker
- name: Login to Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v4
with:
images: ghcr.io/${{ github.repository }}
- name: Build docker container
uses: docker/build-push-action@v4
with:
context: ./nextcloud-nginx/
file: ./nextcloud-nginx/Dockerfile
push: ${{ github.event_name != 'pull_request' }}
tags: ghcr.io/netzint/nextcloud-nginx:latest
labels: ${{ steps.meta.outputs.labels }}