Skip to content

Problem with docker build on push to main #531

@gowerc

Description

@gowerc

When pushing to main we get an error with the docker build pipeline:

Run docker/build-push-action@v6
GitHub Actions runtime token ACs
Docker info
Proxy configuration
Buildx version
Builder info
/usr/bin/docker buildx build --cache-from type=registry,ref=ghcr.io/insightsengineering:latest --cache-to type=inline --file ./misc/docker/Dockerfile --iidfile /home/runner/work/_temp/docker-actions-toolkit-tN4ghe/build-iidfile-a336978215.txt --attest type=provenance,mode=max,builder-id=https://github.com/insightsengineering/rbmi/actions/runs/18401544423/attempts/1 --tag ghcr.io/insightsengineering:rbmi:refs/tags/v1.5.1 --metadata-file /home/runner/work/_temp/docker-actions-toolkit-tN4ghe/build-metadata-b70952cbee.json .
WARNING: No output specified with docker-container driver. Build result will only remain in the build cache. To push result image into registry use --push or to load image into docker use --load
ERROR: failed to build: invalid tag "ghcr.io/insightsengineering:rbmi:refs/tags/v1.5.1": invalid reference format
Reference
Check build summary support
Error: buildx failed with: ERROR: failed to build: invalid tag "ghcr.io/insightsengineering:rbmi:refs/tags/v1.5.1": invalid reference format

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions