Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/binary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
target: aarch64-apple-darwin
asset: tidx-darwin-arm64
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
ref: ${{ inputs.tag || github.ref }}
- uses: dtolnay/rust-toolchain@stable
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:
description: 'Release tag'
required: true
type: string
release:
types:
- published
push:
tags:
- 'tidx@*'
Expand All @@ -18,6 +21,7 @@ env:
jobs:
docker:
name: Build Docker
if: github.event_name != 'release' || startsWith(github.event.release.tag_name, 'tidx@')
runs-on: ubuntu-latest
permissions:
contents: read
Expand Down Expand Up @@ -45,9 +49,9 @@ jobs:
images: ghcr.io/${{ github.repository }}
tags: |
type=sha,prefix=
type=raw,value=latest,enable={{is_default_branch}}
type=raw,value=latest,enable=${{ github.event_name == 'release' && github.event.release.prerelease == false && github.event.release.target_commitish == github.event.repository.default_branch }}
type=ref,event=tag
type=raw,value=${{ inputs.tag }},enable=${{ inputs.tag != '' }}
type=raw,value=${{ inputs.tag }},enable=${{ inputs.tag != '' && startsWith(inputs.tag, 'tidx@') && !contains(inputs.tag, ',') }}

- name: Build and push
uses: docker/build-push-action@v6
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
published: ${{ steps.changelogs.outputs.published }}
tag: ${{ steps.get-tag.outputs.tag }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
fetch-depth: 0
- id: changelogs
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
name: Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6

- name: Install Rust
uses: dtolnay/rust-toolchain@stable
Expand Down