Skip to content

Image build

Image build #8

name: Image build
on:
workflow_dispatch:
inputs:
image:
required: true
description: Image to build
type: choice
options:
- nginx
- postgres
tag:
required: true
description: Version to tag the image
jobs:
build-on-release:
uses: ai-cfia/github-workflows/.github/workflows/workflow-build-push-container-github-registry.yml@154-as-a-devops-i-would-like-to-provide-compatibility-of-our-packages-across-platform
with:
container-name: ${{ github.event.inputs.image }}
tag: ${{ github.event.inputs.tag }}
registry: ghcr.io/ai-cfia
dockerfile-folder-path: ./dockerfiles/${{ inputs.image }}