Skip to content

Commit 03b8757

Browse files
authored
fix: update binary path and release (#10)
1 parent d81af81 commit 03b8757

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ jobs:
102102
context: .
103103
file: ./docker/Dockerfile
104104
build-args: |
105-
BINARY=./radar-agent-linux
105+
BINARY=radar-agent-linux
106106
push: true
107107
tags: |
108108
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:debian-${{ steps.tag.outputs.tag_name }}
@@ -116,7 +116,7 @@ jobs:
116116
context: .
117117
file: ./docker/Dockerfile.alpine
118118
build-args: |
119-
BINARY=./radar-agent-linux-musl
119+
BINARY=radar-agent-linux-musl
120120
push: true
121121
tags: |
122122
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:alpine-${{ steps.tag.outputs.tag_name }}
@@ -146,17 +146,17 @@ jobs:
146146
147147
**Linux (glibc):**
148148
```bash
149-
curl -L "https://github.com/redis-field-engineering/radar/releases/download/${{ steps.tag.outputs.tag_name }}/radar-agent-linux" -o radar-agent
149+
curl -L "https://github.com/redis-field-engineering/radar-agent/releases/download/${{ steps.tag.outputs.tag_name }}/radar-agent-linux" -o radar-agent
150150
```
151151
152152
**Linux (musl):**
153153
```bash
154-
curl -L "https://github.com/redis-field-engineering/radar/releases/download/${{ steps.tag.outputs.tag_name }}/radar-agent-linux-musl" -o radar-agent
154+
curl -L "https://github.com/redis-field-engineering/radar-agent/releases/download/${{ steps.tag.outputs.tag_name }}/radar-agent-linux-musl" -o radar-agent
155155
```
156156
157157
**macOS:**
158158
```bash
159-
curl -L "https://github.com/redis-field-engineering/radar/releases/download/${{ steps.tag.outputs.tag_name }}/radar-agent-darwin" -o radar-agent
159+
curl -L "https://github.com/redis-field-engineering/radar-agent/releases/download/${{ steps.tag.outputs.tag_name }}/radar-agent-darwin" -o radar-agent
160160
```
161161
162162
**Install binary:**

docker/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
ARG BINARY
21
FROM debian:bookworm-slim
32

3+
ARG BINARY
4+
45
LABEL org.opencontainers.image.source="https://github.com/redis-field-engineering/radar-agent" \
56
org.opencontainers.image.licenses="Redis, Inc." \
67
org.opencontainers.image.authors="Radar Team"

docker/Dockerfile.alpine

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
ARG BINARY
21
FROM alpine:3.18
32

3+
ARG BINARY
4+
45
LABEL org.opencontainers.image.source="https://github.com/redis-field-engineering/radar" \
56
org.opencontainers.image.licenses="Redis, Inc." \
67
org.opencontainers.image.authors="Radar Team"

0 commit comments

Comments
 (0)