From e4ba6eb47157d5ce34667b131fc4f814e3081175 Mon Sep 17 00:00:00 2001 From: ubuiquitousbyte Date: Fri, 5 Sep 2025 10:12:10 +0200 Subject: [PATCH] add ability to use pypi credentials in docker builds --- .github/workflows/docker.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 13e1f73..72ef3f2 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -94,6 +94,15 @@ on: required: true description: "Google Artifact Registry service account key (JSON)" + pypi_username: + description: | + Username to use to log in into our private PyPi server. + required: false + pypi_password: + description: | + Password to use to log in into our private PyPi server. + required: false + jobs: build-and-push: runs-on: ${{ inputs.os }} @@ -158,3 +167,6 @@ jobs: ssh: default cache-from: type=gha cache-to: type=gha,mode=max + secrets: | + pypi_username=${{ secrets.pypi_username }} + pypi_password=${{ secrets.pypi_password }}