refactor: update docker config for tianji

This commit is contained in:
moonrailgun 2023-12-10 21:18:39 +08:00
parent 73bc9e0b3c
commit 3ca2cbb2d6

View File

@ -10,14 +10,15 @@ jobs:
docker: docker:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- - name: Checkout
name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Docker meta - name: Docker meta
id: meta id: meta
uses: docker/metadata-action@v5 uses: docker/metadata-action@v5
with: with:
images: moonrailgun/tianji images: moonrailgun/tianji
tags: |
type=semver,pattern={{version}}
- name: Login to DockerHub - name: Login to DockerHub
if: github.event_name != 'pull_request' if: github.event_name != 'pull_request'
uses: docker/login-action@v3 uses: docker/login-action@v3