Skip to content

Allow configurations via CLI arguments in addition to env vars. #5

Allow configurations via CLI arguments in addition to env vars.

Allow configurations via CLI arguments in addition to env vars. #5

Workflow file for this run

name: docker-develop
on:
push:
branches:
- develop
jobs:
publish:
runs-on: ubuntu-20.04
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v4
- name: Login to DockerHub
uses: docker/login-action@v3
with:
username: ${{ vars.DOCKERHUB_USER }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
push: true
tags: |
ghcr.io/${{ github.repository }}:develop,
${{ github.repository }}:develop