Skip to content

Commit

Permalink
Add needs
Browse files Browse the repository at this point in the history
  • Loading branch information
rafal-gorecki committed Dec 19, 2024
1 parent 5a64613 commit 94a567c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/release-candidate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,18 +39,17 @@ jobs:

docker:
name: Docker
needs: unit_tests
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Update docker image tag
uses: mikefarah/[email protected]
with:
cmd: |
sed -i 's/\(husarion\/panther:humble-\)[^[:space:]]*/\1${{ env.RC_BRANCH_NAME }}/g' docker/demo/compose.hardware.yaml
sed -i 's/\(husarion\/panther:humble-\)[^[:space:]]*/\1${{ env.RC_BRANCH_NAME }}/g' docker/demo/compose.rviz.yaml
sed -i 's/\(husarion\/panther-gazebo:humble-\)[^[:space:]]*/\1${{ env.RC_BRANCH_NAME }}/g' docker/demo/compose.simulation.yaml
run: |
sed -i 's/\(husarion\/panther:humble-\)[^[:space:]]*/\1${{ env.RC_BRANCH_NAME }}/g' docker/demo/compose.hardware.yaml
sed -i 's/\(husarion\/panther:humble-\)[^[:space:]]*/\1${{ env.RC_BRANCH_NAME }}/g' docker/demo/compose.rviz.yaml
sed -i 's/\(husarion\/panther-gazebo:humble-\)[^[:space:]]*/\1${{ env.RC_BRANCH_NAME }}/g' docker/demo/compose.simulation.yaml
- name: Commit changes
uses: EndBug/add-and-commit@v9
Expand All @@ -67,6 +66,7 @@ jobs:

os_image:
name: OS image
needs: docker
runs-on: ubuntu-22.04
steps:
- name: Create new branch
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-project.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
automatic_mode: ${{ github.event.inputs.automatic_mode }}
prerelease: ${{ github.event.inputs.prerelease }}

- name: Build development Docker
- name: Build Docker with new version
uses: ./.github/workflows/build-docker.yaml
with:
build_type: development
Expand Down

0 comments on commit 94a567c

Please sign in to comment.