From f11ef9c14f26e5a3128aec3eb0d48b6d828449a6 Mon Sep 17 00:00:00 2001 From: Saikrishna Bairamoni <84093461+SaikrishnaBairamoni@users.noreply.github.com> Date: Wed, 4 Sep 2024 12:52:30 -0400 Subject: [PATCH] update dockerhub.yml to trigger on tags --- .github/workflows/dockerhub.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dockerhub.yml b/.github/workflows/dockerhub.yml index 23c7fd2..388fe1d 100644 --- a/.github/workflows/dockerhub.yml +++ b/.github/workflows/dockerhub.yml @@ -1,14 +1,16 @@ +# This workflow will build and push official docker images when new push occurs to develop, master, release branches but doesn't run any unit test or sonar scanner name: Docker Hub build - on: push: branches: - develop - master - "release/*" + tags: + - "carma-system-*" jobs: dockerhub: uses: usdot-fhwa-stol/actions/.github/workflows/dockerhub.yml@main secrets: DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} - DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }} + DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }} \ No newline at end of file