From 3ca2cbb2d6a841881f82e6a474886d13220319f2 Mon Sep 17 00:00:00 2001 From: moonrailgun Date: Sun, 10 Dec 2023 21:18:39 +0800 Subject: [PATCH] refactor: update docker config for tianji --- .github/workflows/docker-publish.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 7139071..204ef83 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -10,14 +10,15 @@ jobs: docker: runs-on: ubuntu-latest steps: - - - name: Checkout + - name: Checkout uses: actions/checkout@v4 - name: Docker meta id: meta uses: docker/metadata-action@v5 with: images: moonrailgun/tianji + tags: | + type=semver,pattern={{version}} - name: Login to DockerHub if: github.event_name != 'pull_request' uses: docker/login-action@v3