Fix tag calculation

This commit is contained in:
Kitaiti Makoto 2022-01-03 00:01:18 +09:00
parent 3815bfe980
commit 7c1a5421fa

View file

@ -29,4 +29,4 @@ jobs:
uses: docker/build-push-action@v2
with:
push: true
tags: plumeorg/plume:${{ github.ref == 'main' && 'latest' || github.ref }}
tags: plumeorg/plume:${{ startwWith(github.ref, 'refs/tags/') && github.ref || 'latest' }}