diff --git a/.github/workflows/docker-publish-on-comment.yml b/.github/workflows/docker-publish-on-comment.yml index d8572ea8..195b7abc 100644 --- a/.github/workflows/docker-publish-on-comment.yml +++ b/.github/workflows/docker-publish-on-comment.yml @@ -10,6 +10,10 @@ on: types: [created] +env: + DOCKERHUB_USERNAME: ${{ vars.DOCKERHUB_USERNAME }} + IMAGE_NAME: ${{ vars.DOCKERHUB_USERNAME }} + REGISTRY: ${{ vars.DOCKERHUB_USERNAME }} jobs: build: diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index efe18d82..1ae8be89 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -15,6 +15,10 @@ on: pull_request: branches: [ "main" ] +env: + DOCKERHUB_USERNAME: ${{ vars.DOCKERHUB_USERNAME }} + IMAGE_NAME: ${{ vars.DOCKERHUB_USERNAME }} + REGISTRY: ${{ vars.DOCKERHUB_USERNAME }} jobs: build: