chore: update action's title

pull/4383/head
johnnyjoy 3 weeks ago
parent 849bf66612
commit 0e303181a9

@ -1,4 +1,4 @@
name: build-and-push-release-image
name: Build and Push Release Image by Branch
on:
push:
@ -55,8 +55,6 @@ jobs:
type=semver,pattern={{version}},value=${{ env.VERSION }}
type=semver,pattern={{major}}.{{minor}},value=${{ env.VERSION }}
type=raw,value=stable
flavor: |
latest=true
labels: |
org.opencontainers.image.version=${{ env.VERSION }}

@ -1,11 +1,10 @@
name: build-and-push-stable-image
name: Build and Push Release Image by Tag
on:
push:
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*.*.*-rc.*"
jobs:
build-and-push-stable-image:
@ -22,11 +21,6 @@ jobs:
- name: Extract build args
# Extract version number and check if it's an rc version
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
- name: Login to Docker Hub
@ -49,10 +43,8 @@ jobs:
install: true
version: v0.9.1
# Metadata for stable versions
- name: Docker meta for stable
id: meta-stable
if: env.PRE_RELEASE == 'false'
- name: Docker meta
id: meta
uses: docker/metadata-action@v5
with:
images: |
@ -62,22 +54,6 @@ jobs:
type=semver,pattern={{version}},value=${{ env.VERSION }}
type=semver,pattern={{major}}.{{minor}},value=${{ env.VERSION }}
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: |
org.opencontainers.image.version=${{ env.VERSION }}
@ -89,5 +65,5 @@ jobs:
file: ./Dockerfile
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ steps.meta-stable.outputs.tags || steps.meta-rc.outputs.tags }}
labels: ${{ steps.meta-stable.outputs.labels || steps.meta-rc.outputs.labels }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

@ -1,4 +1,4 @@
name: build-and-push-test-image
name: Build and Push Test Image
on:
push:

@ -1,4 +1,4 @@
name: Build artifacts
name: Build Artifacts
on:
push:

@ -1,8 +1,8 @@
name: 'issue-translator'
on:
issue_comment:
name: Issue Translator
on:
issue_comment:
types: [created]
issues:
issues:
types: [opened]
jobs:

@ -1,4 +1,4 @@
name: Proto linter
name: Protobuf Linter
on:
push:

Loading…
Cancel
Save