Manually build containers #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Manually build containers | |
on: | |
workflow_dispatch: | |
inputs: | |
docker-tag: | |
description: The tag of the generated docker containers | |
type: string | |
required: true | |
jobs: | |
build_and_push_containers: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
name: Check out code | |
- uses: mr-smithers-excellent/docker-build-push@v6 | |
name: Build & push Docker image | |
with: | |
image: tenzir-dex | |
tags: ${{ inputs.docker-tag }} | |
registry: ghcr.io | |
directory: components/dex | |
dockerfile: components/dex/Dockerfile | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- uses: mr-smithers-excellent/docker-build-push@v6 | |
name: Build & push Docker image | |
with: | |
image: tenzir-seaweed | |
tags: ${{ inputs.docker-tag }} | |
registry: ghcr.io | |
directory: components/seaweed | |
dockerfile: components/seaweed/Dockerfile | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} |