Skip to content

Commit 45d6ec3

Browse files
antondlrmagick93
authored andcommitted
add docker hub instructions to release template (#260)
1 parent cfdb15b commit 45d6ec3

File tree

2 files changed

+14
-33
lines changed

2 files changed

+14
-33
lines changed

.github/workflows/release.yml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -175,8 +175,20 @@ jobs:
175175
176176
- [ ] Merge `unstable` -> `stable`.
177177
- [ ] Ensure docker images are published to `sigp` namespace (instructions below)
178+
- [ ] Ensure docker images are published to `sigp` namespace (instructions below)
178179
- [ ] Prepare Discord post.
179180
181+
Someone with appropriate access rights should run these commands:
182+
0. sanity check: did the `docker` workflow complete correctly, are the images published under the `sigmaprime` namespace?
183+
see: https://hub.docker.com/r/${{ env.DOCKER_USERNAME }}/siren/tags?name=${{ env.VERSION }} and https://hub.docker.com/r/${{ env.DOCKER_USERNAME }}/siren/tags?name=latest
184+
1. publish `latest`:
185+
`docker manifest create sigp/siren:latest --amend sigmaprime/siren:latest-amd64 --amend sigmaprime/siren:latest-arm64`
186+
`docker manifest push sigp/siren:latest`
187+
2. publish `${{ env.VERSION }}`:
188+
`docker manifest create sigp/siren:${{ env.VERSION }} --amend sigmaprime/siren:${{ env.VERSION }}-amd64 --amend sigmaprime/siren:${{ env.VERSION }}-arm64`
189+
`docker manifest push sigp/siren:${{ env.VERSION }}`
190+
3. verify: https://hub.docker.com/r/siren/siren/tags?name=${{ env.VERSION }} and https://hub.docker.com/r/sigp/siren/tags?name=latest
191+
180192
## Summary
181193
182194
@@ -200,21 +212,9 @@ jobs:
200212
201213
${{ steps.changelog.outputs.CHANGELOG }}
202214
203-
## Binaries
204-
205-
[See pre-built binaries documentation.](https://lighthouse-book.sigmaprime.io/installation-binaries.html)
206-
207-
The binaries are signed with Sigma Prime's PGP key: `15E66D941F697E28F49381F426416DC3F30674B0`
215+
## Docker Hub
216+
https://hub.docker.com/r/sigp/siren/tags?name=${{ env.VERSION }}
208217
209-
| System | Architecture | Binary | PGP Signature |
210-
|:---:|:---:|:---:|:---|
211-
| <img src="https://simpleicons.org/icons/apple.svg" style="width: 32px;"/> | x86_64 | [siren-${{ env.VERSION }}-x86_64-apple-darwin.zip](https://github.com/${{ env.REPO_NAME }}/releases/download/${{ env.VERSION }}/siren-${{ env.VERSION }}-x86_64-apple-darwin.zip) | [PGP Signature](https://github.com/${{ env.REPO_NAME }}/releases/download/${{ env.VERSION }}/siren-${{ env.VERSION }}-x86_64-apple-darwin.zip.asc) |
212-
| <img src="https://simpleicons.org/icons/linux.svg" style="width: 32px;"/> | x86_64 | [siren-${{ env.VERSION }}-x86_64-unknown-linux-gnu.zip](https://github.com/${{ env.REPO_NAME }}/releases/download/${{ env.VERSION }}/siren-${{ env.VERSION }}-x86_64-unknown-linux-gnu.zip) | [PGP Signature](https://github.com/${{ env.REPO_NAME }}/releases/download/${{ env.VERSION }}/siren-${{ env.VERSION }}-x86_64-unknown-linux-gnu.zip.asc) |
213-
| <img src="https://simpleicons.org/icons/raspberrypi.svg" style="width: 32px;"/> | aarch64 | [siren-${{ env.VERSION }}-aarch64-unknown-linux-gnu.zip](https://github.com/${{ env.REPO_NAME }}/releases/download/${{ env.VERSION }}/siren-${{ env.VERSION }}-aarch64-unknown-linux-gnu.zip) | [PGP Signature](https://github.com/${{ env.REPO_NAME }}/releases/download/${{ env.VERSION }}/siren-${{ env.VERSION }}-aarch64-unknown-linux-gnu.zip.asc) |
214-
| <img src="https://simpleicons.org/icons/windows.svg" style="width: 32px;"/> | x86_64 | [siren-${{ env.VERSION }}-x86_64-windows.zip](https://github.com/${{ env.REPO_NAME }}/releases/download/${{ env.VERSION }}/siren-${{ env.VERSION }}-x86_64-windows.zip) | [PGP Signature](https://github.com/${{ env.REPO_NAME }}/releases/download/${{ env.VERSION }}/siren-${{ env.VERSION }}-x86_64-windows.zip.asc) |
215-
| | | | |
216-
| **System** | **Option** | - | **Resource** |
217-
| <img src="https://simpleicons.org/icons/docker.svg" style="width: 32px;"/> | Docker | [${{ env.VERSION }}](https://hub.docker.com/r/${{ env.IMAGE_NAME }}/tags?page=1&ordering=last_updated&name=${{ env.VERSION }}) | [${{ env.IMAGE_NAME }}](https://hub.docker.com/r/${{ env.IMAGE_NAME }}) |
218218
ENDBODY
219219
)
220220
tag_name="${{ env.VERSION }}"

Makefile

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)