Cast a listen party too, and fix a slow/freezing catalog #1
1 changed files with 6 additions and 0 deletions
|
|
@ -5,6 +5,9 @@
|
||||||
# - push sur `master` -> tags `latest` + `<sha court>`
|
# - push sur `master` -> tags `latest` + `<sha court>`
|
||||||
# - push d'un tag `vX.Y.Z` -> tags `X.Y.Z`, `X.Y`, `latest`
|
# - push d'un tag `vX.Y.Z` -> tags `X.Y.Z`, `X.Y`, `latest`
|
||||||
# - déclenchement manuel possible (Actions -> Run workflow)
|
# - déclenchement manuel possible (Actions -> Run workflow)
|
||||||
|
# - PR vers `master` -> job `test` seul (voir `if` du job `publish` -
|
||||||
|
# sans ça, une PR depuis une branche non fusionnée pousserait quand même
|
||||||
|
# une vraie image sur le registre, `latest` compris)
|
||||||
#
|
#
|
||||||
# Repris de mediaDrop (.forgejo/workflows/publish-docker.yml) - mêmes
|
# Repris de mediaDrop (.forgejo/workflows/publish-docker.yml) - mêmes
|
||||||
# prérequis côté instance :
|
# prérequis côté instance :
|
||||||
|
|
@ -31,6 +34,8 @@ on:
|
||||||
push:
|
push:
|
||||||
branches: [master]
|
branches: [master]
|
||||||
tags: ['v*']
|
tags: ['v*']
|
||||||
|
pull_request:
|
||||||
|
branches: [master]
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
|
|
@ -85,6 +90,7 @@ jobs:
|
||||||
|
|
||||||
publish:
|
publish:
|
||||||
needs: test
|
needs: test
|
||||||
|
if: github.event_name != 'pull_request'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
image: docker:27-cli
|
image: docker:27-cli
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue