Open NcadoUatechPeople opened 1 year ago
Hey @NcadoUatechPeople, did you fix it?
@NcadoUatechPeople @ayadagain Hi folks... If you want to use metadata, in order to work you must update the config to:
"metadata": {
"images": [
"ghcr.io/UATechPeople/vyzl-backend"
],
"tags": [
"type=ref,event=branch",
"type=ref,event=tag",
"type=ref,event=pr",
"type=semver,pattern={{version}}",
"type=semver,pattern={{major}}.{{minor}}",
"type=semver,pattern={{major}}",
"type=sha,prefix=sha-",
]
}
Also remove this from GitHub workflow, that is handled internally by nx-container
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v4
with:
images: ${{ env.REGISTRY }}/vyzl
tags: |
type=semver,pattern={{version}}
type=raw,value=latest
type=sha,prefix=sha-
I've trying to push my images to github registry And faced error
> NX buildx failed with: ERROR: failed to solve: failed to push backend:main: server message: insufficient_scope: authorization failed
My github actionI successfully login into GitHub
My project target