Skip to content

armgit / memos

Public Imported from GitHub
0

Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.

chore: update release action by branch

Stevendfacb33abe1e
diff --git a/.github/workflows/build-and-push-release-image.yml b/.github/workflows/build-and-push-release-image.yml
index 1e5407f77..de701667b 100644
--- a/.github/workflows/build-and-push-release-image.yml
+++ b/.github/workflows/build-and-push-release-image.yml
@@ -3,8 +3,8 @@ name: build-and-push-release-image
on:
push:
branches:
- # Run on pushing branches like 'v1.0.0', 'v0.22.2rc'
- - "v*"
+ # Run on pushing branches like 'release/1.0.0'.
+ - "release/*"
jobs:
build-and-push-release-image:
@@ -20,9 +20,9 @@ jobs:
- name: Extract build args
# Extract version from tag name
- # Example: tag name `v1.0.0` sets up env.VERSION=1.0.0
+ # Example: tag name `release/1.0.0` sets up env.VERSION=1.0.0
run: |
- echo "VERSION=${GITHUB_REF_NAME#v}" >> $GITHUB_ENV
+ echo "VERSION=${GITHUB_REF_NAME#release/}" >> $GITHUB_ENV
- name: Login to Docker Hub
uses: docker/login-action@v3