Update build

This commit is contained in:
2025-07-07 21:15:10 +05:30
parent adeb9a9669
commit 45de78c977

View File

@@ -2,13 +2,6 @@ name: Docker Build and Publish for caddy-crowdsec
on:
workflow_dispatch:
push:
branches: [ "main" ]
paths:
- caddy-cloudflare/Dockerfile
env:
DOCKERHUB_REPO: caddy-crowdsec
jobs:
build:
@@ -23,7 +16,7 @@ jobs:
-
name: Parse Caddy version
id: version
run: echo "VERSION=$(grep -Eo 'caddy:[0-9]+\.[0-9]+\.[0-9]+$' ${{matrix.repo}}/Dockerfile | cut -d ':' -f2)" >> $GITHUB_ENV
run: echo "VERSION=$(grep -Eo 'caddy:[0-9]+\.[0-9]+\.[0-9]+$' caddy-cloudflare/Dockerfile | cut -d ':' -f2)" >> $GITHUB_ENV
-
name: Login to Docker Hub
uses: docker/login-action@v3