Build and Push CI Image #14
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
name: CI Image | |
on: | |
workflow_dispatch | |
jobs: | |
build: | |
name: Build | |
runs-on: | |
- self-hosted | |
- v3 | |
steps: | |
- name: Retrieve latest SDK version | |
run: | | |
echo SDK_VERSION=$(curl -s -L -I -o /dev/null -w '%{url_effective}' https://github.com/HULKs/meta-nao/releases/latest | awk -F/ '{print $NF}') >> $GITHUB_OUTPUT | |
id: retrieve_latest_version | |
- uses: actions/checkout@v3 | |
- run: docker build --build-arg SDK_VERSION=${{ steps.retrieve_latest_version.outputs.SDK_VERSION }} --tag 134.28.57.223:5000/hulk tools/ci/github-runners/v3 | |
- run: docker push 134.28.57.223:5000/hulk |