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

View File

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