Skip to content

Pass secrets to called worflow #3

Pass secrets to called worflow

Pass secrets to called worflow #3

name: Build and push CKAN 2.9 images (alpine)
on: push
jobs:
call-reusable-workflow:
uses: ./.github/workflows/reusable-docker-publish.yml
with:
ckan-major-version: "2.9"
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 }}

Check failure on line 14 in .github/workflows/publish-docker-2.9.yml

View workflow run for this annotation

GitHub Actions / Build and push CKAN 2.9 images (alpine)

Invalid workflow file

The workflow is not valid. .github/workflows/publish-docker-2.9.yml (Line: 14, Col: 27): Invalid secret, DOCKERHUB_USERNAME is not defined in the referenced workflow. .github/workflows/publish-docker-2.9.yml (Line: 15, Col: 24): Invalid secret, DOCKERHUB_TOKEN is not defined in the referenced workflow.
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}