From f0385a49a28656f9bcfc9138fd3e8640515c2efe Mon Sep 17 00:00:00 2001 From: SquidSpirit Date: Mon, 27 Jan 2025 19:35:54 +0800 Subject: [PATCH] BLOG-34 Fix deployment workflow syntax error (#35) ### Description As the title. ### Package Changes _No response_ ### Screenshots _No response_ ### Reference - Resolves #34 - [GitHub Action - Docker Build And Push](https://github.com/marketplace/actions/build-and-push-docker-images#customizing) ### Checklist - [x] A milestone is set - [x] The related issuse has been linked to this branch Reviewed-on: https://git.squidspirit.com/squid/blog/pulls/35 Reviewed-by: zoe Co-authored-by: SquidSpirit Co-committed-by: SquidSpirit --- .gitea/workflows/deployment.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/deployment.yaml b/.gitea/workflows/deployment.yaml index 190d3a8..c0db390 100644 --- a/.gitea/workflows/deployment.yaml +++ b/.gitea/workflows/deployment.yaml @@ -29,6 +29,6 @@ jobs: with: push: true context: ./frontend - tags: - - ${{ vars.REGISTRY }}/${{ vars.IMAGE_REPO_FRONTEND }}:latest - - ${{ vars.REGISTRY }}/${{ vars.IMAGE_REPO_FRONTEND }}:${{ gitea.event.release.tag_name }} + tags: | + ${{ vars.REGISTRY }}/${{ vars.IMAGE_REPO_FRONTEND }}:latest + ${{ vars.REGISTRY }}/${{ vars.IMAGE_REPO_FRONTEND }}:${{ gitea.event.release.tag_name }}