feat: add build tag to skip Watcher support (#1076)

* feat: add build tag to skip Watcher support

* fix

* fix

* cleanup
This commit is contained in:
Kévin Dunglas
2024-10-08 23:23:53 +02:00
committed by GitHub
parent ce13140d6b
commit e9c075a4a5
20 changed files with 101 additions and 72 deletions

View File

@@ -213,7 +213,7 @@ jobs:
run: |
docker run --platform=${{ matrix.platform }} --rm \
"$(jq -r '."builder-${{ matrix.variant }}"."containerimage.config.digest"' <<< "${METADATA}")" \
sh -c 'go test ${{ matrix.race }} -v ./... && cd caddy && go test ${{ matrix.race }} -v ./...'
sh -c 'go test -tags watcher ${{ matrix.race }} -v ./... && cd caddy && go test -tags watcher ${{ matrix.race }} -v ./...'
env:
METADATA: ${{ steps.build.outputs.metadata }}
# Adapted from https://docs.docker.com/build/ci/github-actions/multi-platform/