Skip to content

extend ci/cd

extend ci/cd #6

# SPDX-FileCopyrightText: Alliander N. V.
#
# SPDX-License-Identifier: Apache-2.0
name: dockerfiles-changed
on:
push:
branches: [main]
paths:
- dockerfiles/**
pull_request:
branches: [main]
paths:
- dockerfiles/**
jobs:
deploy-docker-image:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/deploy-docker-image
with:
docker-hub-username: ${{ secrets.DOCKER_USERNAME }}
docker-hub-token: ${{ secrets.DOCKER_TOKEN }}
container-image: rcdt/robotics:${{ github.ref_name }}-latest
ros-workspace:
uses: ./.github/workflows/ros-workspace.yml
with:
container-image: rcdt/robotics:${{ github.ref_name }}-latest