Skip to content

Add ability to configure the media path for reverse proxies #296

Add ability to configure the media path for reverse proxies

Add ability to configure the media path for reverse proxies #296

Workflow file for this run

name: Docker build
on:
push:
branches:
- 'master'
tags:
- 'v*.*.*'
jobs:
docker:
runs-on: ubuntu-latest
container: ubuntu:latest
steps:
- name: Install tooling
run: apt-get update && apt-get install -y git docker.io
env:
DEBIAN_FRONTEND: noninteractive
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Docker meta
id: meta
uses: docker/metadata-action@v3
with:
images: hif1/heisenbridge
tags: |
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
id: docker_build
uses: docker/build-push-action@v2
with:
context: .
push: true
platforms: linux/amd64,linux/arm64
tags: |
hif1/heisenbridge:latest
${{ steps.meta.outputs.tags }}
- name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}