0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-02-17 22:04:19 -05:00

fix: fix edge dockerize not triggered bug (#5077)

* fix: fix edge dockerize not triggered bug

fix edge dockerize not triggered bug

* chore: update workflow syntax

update workflow syntax
This commit is contained in:
simeng-li 2023-12-08 15:41:34 +08:00 committed by GitHub
parent b204ba8f74
commit 007607dc38
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,9 +11,8 @@ concurrency:
jobs:
dockerize:
if: ${{ startsWith(github.ref, 'refs/tags/') }}
environment: 'release'
runs-on: 'ubuntu-latest'
environment: ${{ startsWith(github.ref, 'refs/tags/') && 'release' || '' }}
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
@ -62,7 +61,7 @@ jobs:
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
# Publish packages and create git tags if needed
publish-and-tag:
runs-on: ubuntu-latest
@ -121,6 +120,6 @@ jobs:
uses: softprops/action-gh-release@v1
with:
token: ${{ secrets.BOT_PAT }}
body: ''
body: ""
files: /tmp/logto.tar.gz
append_body: true