Skip to content

Commit

Permalink
[CD] Build containers on release and push
Browse files Browse the repository at this point in the history
  • Loading branch information
nrybowski authored Dec 19, 2024
1 parent fcb729e commit dcb7199
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/env_containers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,21 @@ 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@135401b716d3496d81aace75b2a06cd5f21b507c
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 }}
secrets:
GHCR_USERNAME: ${{ secrets.GHCR_USERNAME }}
GHCR_TOKEN: ${{ secrets.GHCR_TOKEN }}

0 comments on commit dcb7199

Please sign in to comment.