-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
github: workflow: add torizon-dev cli publish workflow
Signed-off-by: Matheus Castello <[email protected]>
- Loading branch information
1 parent
7f56fba
commit 47c0fe9
Showing
2 changed files
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |