Publish to INBUXA's own image, and don't release on a schedule yet
Two things inherited from public ihasmail that became live the moment this repository went public. publish.yml pushed ghcr.io/coffey-labs/ihasmail -- the image every public ihasmail install pulls. A release here would have published INBUXA's webmail over it, which is the exact confusion SPEC 5 exists to prevent. It now publishes ghcr.io/inbuxa/ihasmail-inbuxa. release.yml cuts a release every Monday at 09:17 UTC, which public ihasmail wants because it has users expecting one. This fork has none yet, and the release triggers the publish, so on Monday it would have shipped an image and mailed everyone watching about a product that has not shipped. Scheduled runs now stop at the first job; a release can still be cut by hand, and the weekly one comes back by removing one line.
This commit is contained in:
@@ -63,7 +63,11 @@ env:
|
|||||||
# Hardcoded rather than derived from github.repository: a registry path must
|
# Hardcoded rather than derived from github.repository: a registry path must
|
||||||
# be lowercase and the owner is spelled `Coffey-Labs`, so deriving it means
|
# be lowercase and the owner is spelled `Coffey-Labs`, so deriving it means
|
||||||
# remembering to lowercase it. This is the string the docs already name.
|
# remembering to lowercase it. This is the string the docs already name.
|
||||||
IMAGE: ghcr.io/coffey-labs/ihasmail
|
# inbuxa: this fork publishes to INBUXA's own path. Inherited from public
|
||||||
|
# ihasmail, which publishes ghcr.io/coffey-labs/ihasmail -- leaving that
|
||||||
|
# here would push INBUXA's webmail over the image every public ihasmail
|
||||||
|
# install pulls, which SPEC.md 5 exists to prevent.
|
||||||
|
IMAGE: ghcr.io/inbuxa/ihasmail-inbuxa
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
# The version is worked out once and handed to both builds, so the two
|
# The version is worked out once and handed to both builds, so the two
|
||||||
|
|||||||
@@ -12,6 +12,12 @@
|
|||||||
name: Weekly release
|
name: Weekly release
|
||||||
|
|
||||||
on:
|
on:
|
||||||
|
# inbuxa: the weekly schedule is off in this fork until INBUXA releases.
|
||||||
|
# Public ihasmail cuts one a week because it has users expecting it; this
|
||||||
|
# fork has none yet, and a scheduled release here would publish an image
|
||||||
|
# and mail everyone watching about a product that has not shipped. Cut one
|
||||||
|
# by hand with workflow_dispatch; restore the weekly one at release by
|
||||||
|
# removing the `if:` on the `check` job below.
|
||||||
schedule:
|
schedule:
|
||||||
# Mondays, 09:17 UTC. GitHub runs scheduled jobs on a best-effort basis and
|
# Mondays, 09:17 UTC. GitHub runs scheduled jobs on a best-effort basis and
|
||||||
# can delay a run by a good while when the queue is busy, so do not read
|
# can delay a run by a good while when the queue is busy, so do not read
|
||||||
@@ -43,6 +49,9 @@ concurrency:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
check:
|
check:
|
||||||
|
# inbuxa: scheduled runs stop here until INBUXA releases; a run started by
|
||||||
|
# hand goes through. Remove this line to let the weekly one resume.
|
||||||
|
if: github.event_name == 'workflow_dispatch'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
|||||||
Reference in New Issue
Block a user