Skip to content

Commit

Permalink
Pass secrets to called worflow
Browse files Browse the repository at this point in the history
  • Loading branch information
amercader committed Jul 2, 2024
1 parent 40234d5 commit 413f8cc
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/publish-docker-2.10-py3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
3 changes: 3 additions & 0 deletions .github/workflows/publish-docker-2.10.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
3 changes: 3 additions & 0 deletions .github/workflows/publish-docker-2.11.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
3 changes: 3 additions & 0 deletions .github/workflows/publish-docker-2.9-py3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
3 changes: 3 additions & 0 deletions .github/workflows/publish-docker-2.9.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
3 changes: 3 additions & 0 deletions .github/workflows/publish-docker-master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit 413f8cc

Please sign in to comment.