Skip to content

Galactic Docker Push #1

Galactic Docker Push

Galactic Docker Push #1

name: Galactic Docker Push
on:
workflow_run:
workflows: ["Galactic Docker Build"]
types:
- completed
jobs:
galactic_docker_push:
if: ${{ github.event.workflow_run.conclusion == 'success' && github.ref == 'refs/heads/main' }}
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v6
with:
build-args: ROS_DISTRO=galactic
push: true
tags: mgons/yasmin:galactic