mirror of
https://github.com/docmost/docmost.git
synced 2026-05-07 06:23:06 +08:00
update release workflow
This commit is contained in:
@@ -75,13 +75,19 @@ jobs:
|
|||||||
path: /tmp/digests/*
|
path: /tmp/digests/*
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
|
|
||||||
|
- name: Strip v prefix
|
||||||
|
id: strip-v
|
||||||
|
run: echo "version=${VERSION#v}" >> "$GITHUB_OUTPUT"
|
||||||
|
|
||||||
- name: Export Docker image
|
- name: Export Docker image
|
||||||
uses: docker/build-push-action@v6
|
uses: docker/build-push-action@v6
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
platforms: ${{ matrix.platform }}
|
platforms: ${{ matrix.platform }}
|
||||||
push: false
|
push: false
|
||||||
tags: docmost/docmost:latest
|
tags: |
|
||||||
|
docmost/docmost:latest
|
||||||
|
docmost/docmost:${{ steps.strip-v.outputs.version }}
|
||||||
outputs: type=docker,dest=docmost-${{ matrix.suffix }}.docker.tar
|
outputs: type=docker,dest=docmost-${{ matrix.suffix }}.docker.tar
|
||||||
cache-from: type=gha,scope=${{ matrix.suffix }}
|
cache-from: type=gha,scope=${{ matrix.suffix }}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user