Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Retag savant rs services #953

Merged
merged 8 commits into from
Mar 14, 2025
27 changes: 27 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -239,6 +239,33 @@ jobs:
platforms: ${{ matrix.arch }}
push: true

# retag replay containers
retag-replay-containers:
needs: init
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/v') # Only run for version tags like v0.5.4
permissions:
packages: write
strategy:
fail-fast: false
matrix:
include:
- image: savant-replay-x86
- image: savant-replay-arm64
steps:
- name: Log in to the container registry
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ github.token }}

- name: Pull and retag container
run: |
docker pull ${{ env.REGISTRY }}/insight-platform/${{ matrix.image }}:${{ needs.init.outputs.savant-rs-version }}
docker tag ${{ env.REGISTRY }}/insight-platform/${{ matrix.image }}:${{ needs.init.outputs.savant-rs-version }} ${{ env.REGISTRY }}/insight-platform/${{ matrix.image }}:${{ needs.init.outputs.savant-version }}
docker push ${{ env.REGISTRY }}/insight-platform/${{ matrix.image }}:${{ needs.init.outputs.savant-version }}

# build documentation
build-docs:
needs: [init, build-savant-deepstream]