Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
canifa_note
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Vũ Hoàng Anh
canifa_note
Commits
0e303181
Commit
0e303181
authored
Feb 06, 2025
by
johnnyjoy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: update action's title
parent
849bf666
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
14 additions
and
40 deletions
+14
-40
build-and-push-release-image.yml
.github/workflows/build-and-push-release-image.yml
+1
-3
build-and-push-stable-image.yml
.github/workflows/build-and-push-stable-image.yml
+6
-30
build-and-push-test-image.yml
.github/workflows/build-and-push-test-image.yml
+1
-1
build-artifacts.yml
.github/workflows/build-artifacts.yml
+1
-1
issue-translator.yml
.github/workflows/issue-translator.yml
+4
-4
proto-linter.yml
.github/workflows/proto-linter.yml
+1
-1
No files found.
.github/workflows/build-and-push-release-image.yml
View file @
0e303181
name
:
build-and-push-release-image
name
:
Build and Push Release Image by Branch
on
:
on
:
push
:
push
:
...
@@ -55,8 +55,6 @@ jobs:
...
@@ -55,8 +55,6 @@ jobs:
type=semver,pattern={{version}},value=${{ env.VERSION }}
type=semver,pattern={{version}},value=${{ env.VERSION }}
type=semver,pattern={{major}}.{{minor}},value=${{ env.VERSION }}
type=semver,pattern={{major}}.{{minor}},value=${{ env.VERSION }}
type=raw,value=stable
type=raw,value=stable
flavor
:
|
latest=true
labels
:
|
labels
:
|
org.opencontainers.image.version=${{ env.VERSION }}
org.opencontainers.image.version=${{ env.VERSION }}
...
...
.github/workflows/build-and-push-stable-image.yml
View file @
0e303181
name
:
build-and-push-stable-image
name
:
Build and Push Release Image by Tag
on
:
on
:
push
:
push
:
tags
:
tags
:
# Match stable
and rc versions, such as 'v1.0.0' or 'v0.23.0-rc.0'
# Match stable
versions, such as 'v1.0.0'.
-
"
v*.*.*"
-
"
v*.*.*"
-
"
v*.*.*-rc.*"
jobs
:
jobs
:
build-and-push-stable-image
:
build-and-push-stable-image
:
...
@@ -22,11 +21,6 @@ jobs:
...
@@ -22,11 +21,6 @@ jobs:
-
name
:
Extract build args
-
name
:
Extract build args
# Extract version number and check if it's an rc version
# Extract version number and check if it's an rc version
run
:
|
run
:
|
if [[ "${GITHUB_REF_NAME}" =~ -rc ]]; then
echo "PRE_RELEASE=true" >> $GITHUB_ENV
else
echo "PRE_RELEASE=false" >> $GITHUB_ENV
fi
echo "VERSION=${GITHUB_REF_NAME#v}" >> $GITHUB_ENV
echo "VERSION=${GITHUB_REF_NAME#v}" >> $GITHUB_ENV
-
name
:
Login to Docker Hub
-
name
:
Login to Docker Hub
...
@@ -49,10 +43,8 @@ jobs:
...
@@ -49,10 +43,8 @@ jobs:
install
:
true
install
:
true
version
:
v0.9.1
version
:
v0.9.1
# Metadata for stable versions
-
name
:
Docker meta
-
name
:
Docker meta for stable
id
:
meta
id
:
meta-stable
if
:
env.PRE_RELEASE == 'false'
uses
:
docker/metadata-action@v5
uses
:
docker/metadata-action@v5
with
:
with
:
images
:
|
images
:
|
...
@@ -62,22 +54,6 @@ jobs:
...
@@ -62,22 +54,6 @@ jobs:
type=semver,pattern={{version}},value=${{ env.VERSION }}
type=semver,pattern={{version}},value=${{ env.VERSION }}
type=semver,pattern={{major}}.{{minor}},value=${{ env.VERSION }}
type=semver,pattern={{major}}.{{minor}},value=${{ env.VERSION }}
type=raw,value=stable
type=raw,value=stable
flavor
:
|
latest=true
labels
:
|
org.opencontainers.image.version=${{ env.VERSION }}
# Metadata for rc versions
-
name
:
Docker meta for rc
id
:
meta-rc
if
:
env.PRE_RELEASE == 'true'
uses
:
docker/metadata-action@v5
with
:
images
:
|
neosmemo/memos
ghcr.io/usememos/memos
tags
:
|
type=raw,value=${{ env.VERSION }}
labels
:
|
labels
:
|
org.opencontainers.image.version=${{ env.VERSION }}
org.opencontainers.image.version=${{ env.VERSION }}
...
@@ -89,5 +65,5 @@ jobs:
...
@@ -89,5 +65,5 @@ jobs:
file
:
./Dockerfile
file
:
./Dockerfile
platforms
:
linux/amd64,linux/arm64
platforms
:
linux/amd64,linux/arm64
push
:
true
push
:
true
tags
:
${{ steps.meta
-stable.outputs.tags || steps.meta-rc
.outputs.tags }}
tags
:
${{ steps.meta.outputs.tags }}
labels
:
${{ steps.meta
-stable.outputs.labels || steps.meta-rc
.outputs.labels }}
labels
:
${{ steps.meta.outputs.labels }}
.github/workflows/build-and-push-test-image.yml
View file @
0e303181
name
:
build-and-push-test-i
mage
name
:
Build and Push Test I
mage
on
:
on
:
push
:
push
:
...
...
.github/workflows/build-artifacts.yml
View file @
0e303181
name
:
Build
a
rtifacts
name
:
Build
A
rtifacts
on
:
on
:
push
:
push
:
...
...
.github/workflows/issue-translator.yml
View file @
0e303181
name
:
'
issue-translator'
name
:
Issue Translator
on
:
on
:
issue_comment
:
issue_comment
:
types
:
[
created
]
types
:
[
created
]
issues
:
issues
:
types
:
[
opened
]
types
:
[
opened
]
jobs
:
jobs
:
...
...
.github/workflows/proto-linter.yml
View file @
0e303181
name
:
Proto
l
inter
name
:
Proto
buf L
inter
on
:
on
:
push
:
push
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment