Skip to content

Commit

Permalink
Update images to fix whole pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
MSECode committed Dec 12, 2024
1 parent 26c1490 commit a6d8242
Show file tree
Hide file tree
Showing 91 changed files with 725 additions and 182 deletions.
11 changes: 10 additions & 1 deletion .github/workflows/devel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,22 @@ jobs:
name: build devel and master images
runs-on: ubuntu-latest
steps:
- name: Get Token
id: get_workflow_token
uses: tibdex/github-app-token@v2
with:
private_key: ${{ secrets.ICUB_TECH_IIT_APP_KEY }}
app_id: ${{ secrets.ICUB_TECH_IIT_APP_ID }}
installation_retrieval_mode: repository
installation_retrieval_payload: icub-tech-iit/code

- name: Checkout docker-deployment-images
uses: actions/checkout@v4

- name: Repository Dispatch for building images
uses: peter-evans/repository-dispatch@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
token: ${{ secrets.GITHUB_APPS_TOKEN }}
repository: ${{ github.repository }}
event-type: cron_trigger
client-payload: '{"version": "master", "type": "cron_trigger", "img_list": "superbuild superbuild-icubhead superbuild-icubhead-withuser superbuild-gazebo superbuild-ros2"}'
3 changes: 2 additions & 1 deletion .github/workflows/onCodeChanges.yml
Original file line number Diff line number Diff line change
Expand Up @@ -333,10 +333,11 @@ jobs:

##################### Command to set the tag for the date argument ######################
- name: set date argument for Docker build
id: get_date
run: |
echo "$(date +'%d/%m/%Y')" > DATE_
echo "metadata=$(cat DATE_)" > DATE_TAG
echo $(cat DATE_TAG)
echo $(cat DATE_TAG) >> $GITHUB_OUTPUT
##################### Here we check the release version and replace Custom with stable only for the image name ######################
- name: Get release / master version
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,14 @@ jobs:
name: Create Release
runs-on: ubuntu-latest
steps:
- name: Get Token
id: get_workflow_token
uses: tibdex/github-app-token@v2
with:
private_key: ${{ secrets.ICUB_TECH_IIT_APP_KEY }}
app_id: ${{ secrets.ICUB_TECH_IIT_APP_ID }}
installation_retrieval_mode: repository
installation_retrieval_payload: icub-tech-iit/code
- name: Checkout code
uses: actions/checkout@v4
- name: Get Version
Expand Down Expand Up @@ -68,7 +76,7 @@ jobs:
- name: Repository Dispatch for building images
uses: peter-evans/repository-dispatch@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
token: ${{ secrets.GITHUB_APPS_TOKEN }}
repository: ${{ env.REPOSITORY_NAME }}
event-type: repository_trigger
client-payload: '{"version": "${{ steps.get_version.outputs.version }}", "type": "repository_trigger", "img_list": "superbuild superbuild-icubhead superbuild-icubhead-withuser superbuild-gazebo superbuild-ros2"}'
Expand Down
Loading

0 comments on commit a6d8242

Please sign in to comment.