Merge pull request #62 from Alpaca-zip/fix/workflows #15
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: ROS-noetic Docker Image Deployment | |
on: | |
push: | |
branches: | |
- noetic-devel | |
workflow_dispatch: | |
jobs: | |
docker: | |
runs-on: ubuntu-latest | |
timeout-minutes: 120 | |
steps: | |
- name: delete unnecessary tools folder | |
run: rm -rf /opt/hostedtoolcache | |
- name: checkout | |
uses: actions/checkout@v2 | |
- name: set up QEMU | |
uses: docker/setup-qemu-action@v1 | |
- name: set up Docker Buildx | |
uses: docker/setup-buildx-action@v1 | |
- name: login to DockerHub | |
uses: docker/login-action@v1 | |
with: | |
username: ${{ secrets.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- name: build and push | |
uses: docker/build-push-action@v2 | |
with: | |
context: . | |
push: true | |
tags: ${{ secrets.DOCKERHUB_USERNAME }}/ultralytics_ros:noetic |