diff --git a/.github/workflows/build-quesma-docker-image.yml b/.github/workflows/build-quesma-docker-image.yml index 106c8c7e5..6cbf24a1b 100644 --- a/.github/workflows/build-quesma-docker-image.yml +++ b/.github/workflows/build-quesma-docker-image.yml @@ -16,6 +16,11 @@ on: default: false required: false type: boolean + secrets: + DOCKER_USER: + required: false + DOCKER_PAT: + required: false jobs: build-quesma-docker-image: diff --git a/.github/workflows/nightly-docker-build-and-push.yml b/.github/workflows/nightly-docker-build-and-push.yml index e71d24bed..95b89889a 100644 --- a/.github/workflows/nightly-docker-build-and-push.yml +++ b/.github/workflows/nightly-docker-build-and-push.yml @@ -26,3 +26,6 @@ jobs: VERSION: ${{ inputs.VERSION || 'nightly' }} # when called from the main branch, `github.event.inputs.VERSION` doesn't use default value and is just empty # Pushes to DockerHub only for `main` branch builds, unless set explicitly in the job input PUSH: ${{ (github.event_name == 'push' && github.ref == 'refs/heads/main') || inputs.PUSH }} + secrets: + DOCKER_USER: ${{ secrets.DOCKER_USER }} + DOCKER_PAT: ${{ secrets.DOCKER_PAT }}