ci: build docker only when secrets are present #985
on_release_publish.yml
on: pull_request
Build Docker image and publish to Docker Hub
Build for Linux (amd64)
Build for Linux (arm64)
Build for MacOS
Build for Windows
Build tegola_lambda on Amazon Linux (amd64)
Build tegola_lambda on Amazon Linux (arm64)
Annotations
1 error
Invalid workflow file:
.github/workflows/on_release_publish.yml#L247
The workflow is not valid. .github/workflows/on_release_publish.yml (Line: 247, Col: 11): Unrecognized named-value: 'secrets'. Located at position 1 within expression: secrets.DOCKERHUB_USERNAME != '' && secrets.DOCKERHUB_TOKEN != '' .github/workflows/on_release_publish.yml (Line: 264, Col: 11): Unrecognized named-value: 'secrets'. Located at position 1 within expression: secrets.DOCKERHUB_USERNAME != '' && secrets.DOCKERHUB_TOKEN != ''
|