Skip to content

Commit

Permalink
Docker stack build CI action enabled for any changes
Browse files Browse the repository at this point in the history
The docker build CI was only activated when `.docker` or
`.github/workflows/docker*.yaml` are changed. It prevent the build
check from changes in src code which may potentially break the
docker stack build. For example when CLI interface for `quicksetup`
is changed or the interface for `computer/code` setup is
changed, since the docker stack builds relies on running these commands inside.

We use paths-ignore to ignore the trigger of docker stack build when changes
are from `docs/` or `tests/`.
  • Loading branch information
unkcpz committed Sep 22, 2023
1 parent 34be3b6 commit 9a9a1d2
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@ name: Build, test and push Docker Images

on:
pull_request:
paths:
- .docker/**
- .github/workflows/docker-*.yml
paths-ignore:
- "docs/**"
- "tests/**"
push:
branches:
- main
tags:
- "v*"
paths:
- .docker/**
- .github/workflows/docker-*.yml
paths-ignore:
- "docs/**"
- "tests/**"
workflow_dispatch:

# https://docs.github.com/en/actions/using-jobs/using-concurrency
Expand Down

0 comments on commit 9a9a1d2

Please sign in to comment.