Even though on workflow_dispatch the environment packages appears to populate the secrets, when called as a re-usable workflow the registry login says there are no user/password
Run docker/login-action@v2.1.0
with:
registry: registry.scality.com
ecr: auto
logout: true
env:
image_path: spark-dev/deployment
staging_path: /home/runner/work/spark/spark/staging
registry: registry.scality.com
img: fieldreportservice
image: registry.scality.com/spark-dev/deployment
staging_archive: spark-offline-archive-0.1.1_auto_tag_test-prerelease.run
Error: Username and password required
Adding the environment to the primary workflow, and then setting secret: inherit to pass them to the re-usable workflow.
Even though on workflow_dispatch the environment
packages
appears to populate the secrets, when called as a re-usable workflow the registry login says there are no user/passwordAdding the environment to the primary workflow, and then setting
secret: inherit
to pass them to the re-usable workflow.