mirror of
https://github.com/Llewellynvdm/conky.git
synced 2025-01-16 04:02:15 +00:00
Try to fix this quote handling again
Unsure why this works but it does 🤷♂️
This commit is contained in:
parent
a5cc142bba
commit
2578be2447
6
.github/workflows/docker.yaml
vendored
6
.github/workflows/docker.yaml
vendored
@ -58,12 +58,12 @@ jobs:
|
||||
VERSION_TAG=$(echo "${{ github.ref }}" | sed -e 's,.*/\(.*\),\1,')
|
||||
|
||||
# Strip "v" prefix from tag name
|
||||
[[ "${{ github.ref }}" == "refs/tags/"* ]] && VERSION_TAG=$(echo $VERSION_TAG | sed -e 's/^v//')
|
||||
[[ "${{ github.ref }}" == refs/tags/* ]] && VERSION_TAG=$(echo $VERSION_TAG | sed -e 's/^v//')
|
||||
|
||||
image_tags+=("--tag" "$DOCKERHUB_IMAGE_ID:$VERSION_TAG")
|
||||
|
||||
# tag as latest on releases
|
||||
[[ "$RELEASE" == "ON" ]] && image_tags+=("--tag" "$DOCKERHUB_IMAGE_ID:latest")
|
||||
[[ "$RELEASE" == ON ]] && image_tags+=("--tag" "$DOCKERHUB_IMAGE_ID:latest")
|
||||
|
||||
# Only build amd64 on PRs, build all platforms on main. The arm builds
|
||||
# take far too long.
|
||||
@ -72,7 +72,7 @@ jobs:
|
||||
cache_tag="pr-cache"
|
||||
|
||||
# Only push on main
|
||||
[[ "${{ github.ref }}" == "refs/head/main" ]] \
|
||||
[[ "${{ github.ref }}" == refs/head/main ]] \
|
||||
&& push_image="--push" \
|
||||
&& image_platforms="--platform linux/arm/v7,linux/arm64/v8,linux/amd64" \
|
||||
&& cache_tag="main-cache"
|
||||
|
Loading…
Reference in New Issue
Block a user