Tweaks
This commit is contained in:
parent
fc8e79fbe9
commit
cb45a070be
2 changed files with 8 additions and 2 deletions
4
.github/workflows/server-publish.yml
vendored
4
.github/workflows/server-publish.yml
vendored
|
@ -5,6 +5,8 @@ on:
|
|||
#
|
||||
# To obtain the commit from the currently deployed museum, do:
|
||||
# curl -s https://api.ente.io/ping | jq -r '.id'
|
||||
#
|
||||
# See server/docs/publish.md for more details.
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
commit:
|
||||
|
@ -13,7 +15,7 @@ on:
|
|||
required: true
|
||||
|
||||
jobs:
|
||||
build:
|
||||
publish:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
|
|
|
@ -34,4 +34,8 @@ Then, trigger the "Publish (server)" workflow, providing it the commit. You can
|
|||
trigger it either from GitHub's UI or using the `gh cli`. With the CLI, we can
|
||||
combine both these steps too.
|
||||
|
||||
Once the workflow completes, the resultant image will be available at `ghcr.io/ente-io/server`.
|
||||
gh workflow run server-publish.yml -F commit=`curl -s https://api.ente.io/ping | jq -r '.id'`
|
||||
|
||||
Once the workflow completes, the resultant image will be available at
|
||||
`ghcr.io/ente-io/server`. The image will be tagged by the commit SHA. The latest
|
||||
image will also be tagged, well, "latest".
|
||||
|
|
Loading…
Add table
Reference in a new issue