Skip to content

Commit

Permalink
github: workflow: add torizon-dev cli publish workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Matheus Castello <[email protected]>
  • Loading branch information
microhobby committed Jan 16, 2025
1 parent 7f56fba commit 47c0fe9
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/build-and-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,14 @@ jobs:
- build-python
- build-debug-rust
- build-rust

publish-torizon-dev:
uses: ./.github/workflows/build-publish-torizon-dev.yaml
secrets: inherit
needs:
- build-ccpp
- build-debug-ccpp
- build-debug-python
- build-python
- build-debug-rust
- build-rust
22 changes: 22 additions & 0 deletions .github/workflows/build-publish-torizon-dev.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Publish Torizon Utils
on:
workflow_call:

jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Setup Xonsh
run: |
sudo apt-get update
sudo apt-get install -y python3 python3-pip pipx
sudo bash ./scripts/bash/setup-xonsh.sh
sudo ln -s /root/.local/bin/xonsh /usr/bin/xonsh
- name: Build
run: |
echo "${{ secrets.DOCKER_PASS }}" | docker login -u ${{ secrets.DOCKER_USER }} --password-stdin
cd ./scripts
xonsh ./scripts/build-internal-containers.xsh

0 comments on commit 47c0fe9

Please sign in to comment.