From 413f8cc2d7e1a07a522d6b8b2875c9f13b414f47 Mon Sep 17 00:00:00 2001 From: amercader Date: Tue, 2 Jul 2024 13:01:03 +0200 Subject: [PATCH] Pass secrets to called worflow --- .github/workflows/publish-docker-2.10-py3.yml | 3 +++ .github/workflows/publish-docker-2.10.yml | 3 +++ .github/workflows/publish-docker-2.11.yml | 3 +++ .github/workflows/publish-docker-2.9-py3.yml | 3 +++ .github/workflows/publish-docker-2.9.yml | 3 +++ .github/workflows/publish-docker-master.yml | 3 +++ 6 files changed, 18 insertions(+) diff --git a/.github/workflows/publish-docker-2.10-py3.yml b/.github/workflows/publish-docker-2.10-py3.yml index 9422876..71dcf3f 100644 --- a/.github/workflows/publish-docker-2.10-py3.yml +++ b/.github/workflows/publish-docker-2.10-py3.yml @@ -11,3 +11,6 @@ jobs: docker-file: "Dockerfile.py3.9" base-tags: '["ckan/ckan-base:2.10-py3.10", "ckan/ckan-base:2.10.4-py3.10"]' dev-tags: '["ckan/ckan-dev:2.10-py3.10", "ckan/ckan-dev:2.10.4-py3.10"]' + secrets: + DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} + DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }} diff --git a/.github/workflows/publish-docker-2.10.yml b/.github/workflows/publish-docker-2.10.yml index 959cf8b..b004377 100644 --- a/.github/workflows/publish-docker-2.10.yml +++ b/.github/workflows/publish-docker-2.10.yml @@ -10,3 +10,6 @@ jobs: ckan-version: "2.10.4" base-tags: '["ckan/ckan-base:2.10", "ckan/ckan-base:2.10.4"]' dev-tags: '["ckan/ckan-dev:2.10", "ckan/ckan-dev:2.10.4"]' + secrets: + DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} + DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }} diff --git a/.github/workflows/publish-docker-2.11.yml b/.github/workflows/publish-docker-2.11.yml index f4a7db0..5dbd55d 100644 --- a/.github/workflows/publish-docker-2.11.yml +++ b/.github/workflows/publish-docker-2.11.yml @@ -11,3 +11,6 @@ jobs: # TODO: minor version base-tags: '["ckan/ckan-base:2.11", "ckan/ckan-base:2.11-py3.10"]' dev-tags: '["ckan/ckan-dev:2.11", "ckan/ckan-dev:2.11-py3.10"]' + secrets: + DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} + DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }} diff --git a/.github/workflows/publish-docker-2.9-py3.yml b/.github/workflows/publish-docker-2.9-py3.yml index 4cbe519..470f0e5 100644 --- a/.github/workflows/publish-docker-2.9-py3.yml +++ b/.github/workflows/publish-docker-2.9-py3.yml @@ -11,3 +11,6 @@ jobs: docker-file: "Dockerfile.py3.9" base-tags: '["ckan/ckan-base:2.9-py3.9", "ckan/ckan-base:2.9.11-py3.9"]' dev-tags: '["ckan/ckan-dev:2.9-py3.9", "ckan/ckan-dev:2.9.11-py3.9"]' + secrets: + DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} + DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }} diff --git a/.github/workflows/publish-docker-2.9.yml b/.github/workflows/publish-docker-2.9.yml index 72b5509..916e65a 100644 --- a/.github/workflows/publish-docker-2.9.yml +++ b/.github/workflows/publish-docker-2.9.yml @@ -10,3 +10,6 @@ jobs: ckan-version: "2.9.11" base-tags: '["ckan/ckan-base:2.9", "ckan/ckan-base:2.9.11"]' dev-tags: '["ckan/ckan-dev:2.9", "ckan/ckan-dev:2.9.11"]' + secrets: + DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} + DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }} diff --git a/.github/workflows/publish-docker-master.yml b/.github/workflows/publish-docker-master.yml index 45e30c5..c00d644 100644 --- a/.github/workflows/publish-docker-master.yml +++ b/.github/workflows/publish-docker-master.yml @@ -11,3 +11,6 @@ jobs: ckan-version: "master" base-tags: '["ckan/ckan-base:master", "ckan/ckan-base:master-py3.10"]' dev-tags: '["ckan/ckan-dev:master", "ckan/ckan-dev:master-py3.10"]' + secrets: + DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} + DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}