diff --git a/.forgejo/workflows/test_and_build.yaml b/.forgejo/workflows/test_and_build.yaml index 4f51fa9..bd98561 100644 --- a/.forgejo/workflows/test_and_build.yaml +++ b/.forgejo/workflows/test_and_build.yaml @@ -100,7 +100,7 @@ jobs: build-args: | APP_VERSION=${{ steps.version.outputs.version }} - - name: Push the image to the registry + - name: Push the image to the registry (version tag) if: fromJSON(steps.builder.outputs.run) uses: actions/push-to-registry@v2 with: @@ -108,6 +108,14 @@ jobs: image: treetrail-backend tags: ${{ steps.version.outputs.version }} + - name: Push the image to the registry (latest tag) + if: fromJSON(steps.builder.outputs.run) + uses: actions/push-to-registry@v2 + with: + registry: "docker://${{ vars.REGISTRY }}/${{ vars.ORGANISATION }}" + image: treetrail-backend + tags: latest + - name: Install uv uses: astral-sh/setup-uv@v4 with: