From 5e7846491807c2cb57118703e4965f60f955d5d3 Mon Sep 17 00:00:00 2001 From: Marie Date: Fri, 22 Dec 2023 01:25:30 +0100 Subject: [PATCH] upd(ci): stable docker builds with version and latest tag --- .forgejo/workflows/docker.yml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) 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