From 29c25394c6944af1656068a4285cf3b390b07074 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miguel=20=C3=81ngel=20Gonz=C3=A1lez=20Santamarta?= Date: Sat, 2 Nov 2024 20:15:21 +0100 Subject: [PATCH] docker push for foxy, galactic, iron, jazzy, rolling --- .github/workflows/foxy-docker-build.yml | 11 +++++++++-- .github/workflows/galactic-docker-build.yml | 11 +++++++++-- .github/workflows/iron-docker-build.yml | 11 +++++++++-- .github/workflows/jazzy-docker-build.yml | 11 +++++++++-- .github/workflows/rolling-docker-build.yml | 12 ++++++++---- 5 files changed, 44 insertions(+), 12 deletions(-) diff --git a/.github/workflows/foxy-docker-build.yml b/.github/workflows/foxy-docker-build.yml index ed5128b..2485214 100644 --- a/.github/workflows/foxy-docker-build.yml +++ b/.github/workflows/foxy-docker-build.yml @@ -12,8 +12,15 @@ jobs: - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 - - name: Build Docker + - 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=foxy - push: false + push: true + tags: mgons/yasmin:foxy diff --git a/.github/workflows/galactic-docker-build.yml b/.github/workflows/galactic-docker-build.yml index 9dc9e17..97a4e70 100644 --- a/.github/workflows/galactic-docker-build.yml +++ b/.github/workflows/galactic-docker-build.yml @@ -12,8 +12,15 @@ jobs: - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 - - name: Build Docker + - 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: false + push: true + tags: mgons/yasmin:galactic diff --git a/.github/workflows/iron-docker-build.yml b/.github/workflows/iron-docker-build.yml index 48d0b46..10f63e6 100644 --- a/.github/workflows/iron-docker-build.yml +++ b/.github/workflows/iron-docker-build.yml @@ -12,8 +12,15 @@ jobs: - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 - - name: Build Docker + - 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=iron - push: false + push: true + tags: mgons/yasmin:iron diff --git a/.github/workflows/jazzy-docker-build.yml b/.github/workflows/jazzy-docker-build.yml index cf5fb0e..ebd0f9e 100644 --- a/.github/workflows/jazzy-docker-build.yml +++ b/.github/workflows/jazzy-docker-build.yml @@ -12,8 +12,15 @@ jobs: - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 - - name: Build Docker + - 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=jazzy - push: false + push: true + tags: mgons/yasmin:jazzy diff --git a/.github/workflows/rolling-docker-build.yml b/.github/workflows/rolling-docker-build.yml index 668629b..72dd8a7 100644 --- a/.github/workflows/rolling-docker-build.yml +++ b/.github/workflows/rolling-docker-build.yml @@ -9,11 +9,15 @@ jobs: - 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 Docker + - name: Build and push uses: docker/build-push-action@v6 with: build-args: ROS_DISTRO=rolling - push: false + push: true + tags: mgons/yasmin:rolling