Skip to content

Commit 55cbe0a

Browse files
committed
ci: 增加 x.y 镜像标签
1 parent dfa2802 commit 55cbe0a

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/docker-image.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
jobs:
99
push_to_registry:
1010
name: Push Docker image to Docker Hub
11-
runs-on: ubuntu-latest
11+
runs-on: ubuntu-22.04
1212
permissions:
1313
packages: write
1414
contents: read
@@ -31,6 +31,7 @@ jobs:
3131
images: langfarm/alinux3
3232
tags: |
3333
type=semver,pattern={{version}}
34+
type=semver,pattern={{major}}.{{minor}}
3435
3536
- name: Set up QEMU
3637
uses: docker/setup-qemu-action@v3

0 commit comments

Comments
 (0)