Skip to content

Commit

Permalink
Merge pull request #1 from insight-platform/upgrade-savant-rs-0-2-30
Browse files Browse the repository at this point in the history
Update Savant Rs to 0.2.30
  • Loading branch information
bwsw authored Jun 10, 2024
2 parents 808a70b + bdbad93 commit bd0fcd1
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 6 deletions.
19 changes: 16 additions & 3 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,18 +60,31 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@f95db51fddba0c2d1ec667646a06c2ce06100226 # v3.0.0

- name: Build docker image for ${{ env.GITHUB_REF_SLUG }}
if: github.event_name == 'pull_request'
uses: docker/build-push-action@v5 # v5.0.0
with:
file: ${{ matrix.docker_file }}
platforms: ${{ matrix.arch }}
tags: "${{matrix.tag}}:${{ env.GITHUB_REF_SLUG }}"
load: true
context: .
cache-from: type=gha
cache-to: type=gha,mode=max

# Login against a Docker registry except on PR
# https://github.com/docker/login-action
- name: Log into registry ${{ env.REGISTRY }}
if: github.event_name != 'pull_request'
uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3.0.0
uses: docker/login-action@v3 # v3.0.0
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build docker image for ${{ env.GITHUB_REF_SLUG }}
uses: docker/build-push-action@0565240e2d4ab88bba5387d719585280857ece09 # v5.0.0
- name: Push docker image for ${{ env.GITHUB_REF_SLUG }}
if: github.event_name != 'pull_request'
uses: docker/build-push-action@v5 # v5.0.0
with:
file: ${{ matrix.docker_file }}
platforms: ${{ matrix.arch }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
if-no-files-found: error

deploy-docs:
# if: "startsWith(github.ref, 'refs/tags/')"
if: "startsWith(github.ref, 'refs/tags/')"
runs-on: ubuntu-latest
needs: build-docs
environment:
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ tokio-timerfd = "0.2"
uuid = { version = "1", features = ["v7"] }

[workspace.package]
version = "0.4.0"
version = "0.5.0"
edition = "2021"
authors = ["Ivan Kudriavtsev <[email protected]>"]
description = "ReplayDB Service"
Expand Down
2 changes: 1 addition & 1 deletion replaydb/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ md-5 = "0.10"
mini-moka = "0.10"
ring = "0.17"
rocksdb = { version = "0.22" }
savant_core = { git = "https://github.com/insight-platform/savant-rs", tag = "0.2.27" }
savant_core = { git = "https://github.com/insight-platform/savant-rs", tag = "0.2.30" }
twelf = { version = "0.15", features = ["json", "env", "shellexpand"], default-features = false }

anyhow = { workspace = true }
Expand Down

0 comments on commit bd0fcd1

Please sign in to comment.