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