Closed guomaoqiu closed 11 months ago
@guomaoqiu - can you try explicitly adding your githubOrg
as a value for this action? If you don't provide it, the action uses @actions/github
to retrieve it, which may result in the secret issue you're seeing. Example below:
uses: mr-smithers-excellent/docker-build-push@v6
with:
image: image-name
registry: ghcr.io
githubOrg: override-org
username: ${{ secrets.GHCR_USERNAME }}
password: ${{ secrets.GHCR_TOKEN }}
Why is my organization's name a secret?
In the final prompt, the github prompt contained a secret, but in fact it was just a string, which caused my subsequent work to be empty when obtaining the image-name. Eventually I was unable to update my image.