Skip to content

Client

Client #14

Workflow file for this run

name: Client
on:
push:
branches:
- main
paths:
- client/**
workflow_dispatch: {}
jobs:
push:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Docker Login
uses: docker/[email protected]
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push Docker image
uses: docker/[email protected]
with:
file: client/Dockerfile
context: client
push: true
tags: ghcr.io/djoamersfoort/media/client:latest
build-args: |
oauth_server=${{ vars.OAUTH_SERVER }}
client_id=${{ vars.CLIENT_ID }}
api_base=${{ vars.API_BASE }}
redirect_url=${{ vars.REDIRECT_URL }}