mirror of
https://github.com/dragonflydb/dragonfly.git
synced 2025-05-10 18:05:44 +02:00
fix
Signed-off-by: Abhradeep Chakraborty <abhradeep@dragonflydb.io>
This commit is contained in:
parent
52a01c5658
commit
e2743f9afa
1 changed files with 2 additions and 3 deletions
5
.github/workflows/docker-dev-release.yml
vendored
5
.github/workflows/docker-dev-release.yml
vendored
|
@ -112,7 +112,7 @@ jobs:
|
|||
|
||||
# Extract version from the image
|
||||
echo "Extracting version from image..."
|
||||
VERSION=$(docker run --rm ${image_tag} dragonfly --version | head -n1 | cut -d' ' -f2 | cut -d'-' -f1)
|
||||
VERSION=$(docker run --rm ${image_tag} dragonfly --version | sed -r "s/\x1B\[([0-9]{1,3}(;[0-9]{1,2})?)?[mGK]//g" | head -n1 | cut -d' ' -f2 | cut -d'-' -f1)
|
||||
echo "Dragonfly version: $VERSION"
|
||||
|
||||
echo "Extracting binary from ${image_tag} for ${{ matrix.os.arch }}"
|
||||
|
@ -128,8 +128,7 @@ jobs:
|
|||
|
||||
# Upload to GCS
|
||||
echo "Uploading ${tar_name} to GCS"
|
||||
destination="gs://${{ secrets.ARTIFACT_BUCKET }}/dragonfly/${VERSION}"
|
||||
gcloud storage cp ${tar_name} gs://stagingv2-data-plane-dragonfly-artifacts/dragonfly/${VERSION}/
|
||||
gcloud storage cp "$tar_name" "gs:${{ secrets.ARTIFACT_BUCKET }}/dragonfly/$VERSION/"
|
||||
|
||||
# Cleanup
|
||||
rm -f dragonfly ${tar_name}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue