Skip to content

Commit 1914b15

Browse files
committed
resolved the release body message
1 parent 7678c1a commit 1914b15

1 file changed

Lines changed: 4 additions & 8 deletions

File tree

.github/workflows/docker-release.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -99,18 +99,15 @@ jobs:
9999
- name: Compose release body
100100
shell: bash
101101
run: |
102-
set -euo pipefail
103-
TAG="${GITHUB_REF_NAME}"
104-
IMAGE="ghcr.io/${{ github.repository_owner }}/danube-admin-ui"
105-
cat > RELEASE_BODY.md <<EOF
102+
cat > RELEASE_BODY.md <<'EOF'
106103
## Docker image
107104
108-
Image: `${IMAGE}:${TAG}` (multi-arch)
105+
Image: ghcr.io/${{ github.repository_owner }}/danube-admin-ui:${{ github.ref_name }} (multi-arch)
109106
110107
### Run with Docker
111108
112109
```bash
113-
docker run -d --name danube-admin-ui -p 5173:80 -e VITE_GATEWAY_BASE_URL=http://localhost:8080 ${IMAGE}:${TAG}
110+
docker run -d --name danube-admin-ui -p 5173:80 -e VITE_GATEWAY_BASE_URL=http://localhost:8080 ghcr.io/${{ github.repository_owner }}/danube-admin-ui:${{ github.ref_name }}
114111
```
115112
Open: http://localhost:5173
116113
@@ -119,7 +116,7 @@ jobs:
119116
```yaml
120117
services:
121118
danube-admin-ui:
122-
image: ${IMAGE}:${TAG}
119+
image: ghcr.io/${{ github.repository_owner }}/danube-admin-ui:${{ github.ref_name }}
123120
ports:
124121
- "5173:80"
125122
environment:
@@ -138,4 +135,3 @@ jobs:
138135
make_latest: true
139136
fail_on_unmatched_files: false
140137
generate_release_notes: false
141-
allowUpdates: true

0 commit comments

Comments
 (0)