nx-tools icon indicating copy to clipboard operation
nx-tools copied to clipboard

Docker images don't push to the GitHub registry

Open Ncado opened this issue 1 year ago • 3 comments

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"
          ]
        }
      }
    },```
    
    

Ncado avatar Jan 15 '23 12:01 Ncado