nx-tools
nx-tools copied to clipboard
Docker images don't push to the GitHub registry
I've been trying to push my images to GitHub registry. I have no-monorepo with two projects Example of my project target inside project.json
"container": {
"executor": "@nx-tools/nx-container:build",
"options": {
"file": "apps/vyzl-frontend/frontend.Dockerfile",
"engine": "docker",
"metadata": {
"images": [
"frontend"
],
"load": true,
"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-",
"ghcr.io/"organization-name"/vyzlFrontend:latest",
"ghcr.io/"organization-name"vyzlFrontend:v1"
]
}
}
},```