Stop building an image for each merge on main

This commit is contained in:
Renaud Chaput 2023-07-06 14:14:15 +02:00
parent 2d79bbe5ff
commit 1d01a480ae
No known key found for this signature in database
GPG key ID: BCFC859D49B46990
2 changed files with 1 additions and 2 deletions

View file

@ -2,8 +2,6 @@ name: Build container image
on: on:
workflow_dispatch: workflow_dispatch:
push: push:
branches:
- 'main'
tags: tags:
- '*' - '*'
pull_request: pull_request:

View file

@ -37,6 +37,7 @@ jobs:
latest=auto latest=auto
tags: | tags: |
type=raw,value=nightly type=raw,value=nightly
type=raw,value=edge
type=schedule,pattern=nightly-{{date 'YYYY-MM-DD' tz='Etc/UTC'}} type=schedule,pattern=nightly-{{date 'YYYY-MM-DD' tz='Etc/UTC'}}
labels: | labels: |
org.opencontainers.image.description=Nightly build image used for testing purposes org.opencontainers.image.description=Nightly build image used for testing purposes