chore: only generate docker images on demand (#1134)

* chore: only generate docker images on demand

* chore: consistent naming
This commit is contained in:
Pablo Orgaz 2023-10-29 21:48:16 +01:00 committed by GitHub
parent 64c5ae214a
commit 5d1be6e94c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 6 deletions

View File

@ -1,12 +1,9 @@
name: Create and publish a Docker image
name: docker
on:
release:
types: [ published ]
push:
branches:
- main
pull_request:
workflow_dispatch:
env:
REGISTRY: ghcr.io
@ -44,4 +41,4 @@ jobs:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
labels: ${{ steps.meta.outputs.labels }}