diff --git a/.forgejo/workflows/docker.yml b/.forgejo/workflows/docker.yml index b9dce0a15..d9076611e 100644 --- a/.forgejo/workflows/docker.yml +++ b/.forgejo/workflows/docker.yml @@ -1,12 +1,8 @@ name: Publish Docker image on: - push: - branches: - - stable - paths: - - packages/** - - locales/** + release: + types: [published] workflow_dispatch: env: @@ -61,5 +57,5 @@ jobs: push: true platforms: ${{ steps.buildx.outputs.platforms }} provenance: false - tags: ${{ env.REGISTRY }}/sharkey/sharkey:stable - labels: stable \ No newline at end of file + tags: ${{ steps.meta.outputs.tags }} + labels: ${{ steps.meta.outputs.labels }} \ No newline at end of file