From ad49ed74a062ebcc3dae41172c9a2943073756aa Mon Sep 17 00:00:00 2001 From: ruigomes99 Date: Fri, 23 Aug 2024 12:27:37 +0100 Subject: [PATCH] add vars to actions --- .github/workflows/publish-images.yaml | 2 +- .github/workflows/tests.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish-images.yaml b/.github/workflows/publish-images.yaml index 6151f3d..25c651c 100644 --- a/.github/workflows/publish-images.yaml +++ b/.github/workflows/publish-images.yaml @@ -9,7 +9,7 @@ env: GITHUB_REGISTRY: ghcr.io DOCKERHUB_REGISTRY: index.docker.io GITHUB_IMAGE_NAME: ${{ github.repository }} - DOCKERHUB_IMAGE_NAME: ruigomes99/model-management + DOCKERHUB_IMAGE_NAME: ruigomes99/${{ github.event.repository.name }} jobs: push_to_registries: diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 8cbb945..ab48971 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -11,7 +11,7 @@ jobs: - name: Checkout code uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 #v4.1.7 - name: Build Docker image - run: docker build -t model-management:ci . + run: docker build -t ${{ github.event.repository.name }}:ci . # https://docs.github.com/en/actions/use-cases-and-examples/building-and-testing/building-and-testing-nodejs unit_tests: