Update WF
This commit is contained in:
@@ -14,7 +14,7 @@ jobs:
|
||||
name: Parse Caddy version
|
||||
id: version
|
||||
run: |
|
||||
VERSION=$(grep -Eo 'caddy:[0-9]+\.[0-9]+\.[0-9]+$' Dockerfile | cut -d ':' -f2)
|
||||
VERSION=$(grep -m 1 -Eo 'caddy:[0-9]+\.[0-9]+\.[0-9]' Dockerfile | cut -d ':' -f2)
|
||||
echo "version=$VERSION" >> $GITHUB_OUTPUT
|
||||
echo "Version from file: $VERSION"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user