[CD] Build containers on release and push #39
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: "CD: Env containers" | ||
on: | ||
push: | ||
branches: [master] | ||
release: | ||
types: [published] | ||
workflow_dispatch: | ||
jobs: | ||
containers_build_and_push: | ||
uses: INGInious/.github/.github/workflows/containers.yml@32ce51f6cb26177d398f38ccf7f3a11016c3e5bc | ||
with: | ||
working-directory: base-containers | ||
context-path: context.yml | ||
compose-path: compose.yml | ||
registry: ghcr.io | ||
container_type: env | ||
version: ${{ github.event_name == "push" && github.ref_name || github.event.release.tag_name }} | ||
Check failure on line 20 in .github/workflows/env_containers.yml GitHub Actions / CD: Env containersInvalid workflow file
|
||
secrets: | ||
GHCR_USERNAME: ${{ secrets.GHCR_USERNAME }} | ||
GHCR_TOKEN: ${{ secrets.GHCR_TOKEN }} |