ModischFabrications / CutSolverFrontend

Simple frontend for CutSolver, a webservice to determine ideal cut placements
https://cutsolver.modisch.me
GNU General Public License v3.0
10 stars 2 forks source link

CI Push Invalid Tag #52

Closed ModischFabrications closed 1 year ago

ModischFabrications commented 1 year ago

Related to #2

/usr/bin/docker buildx build --iidfile /tmp/docker-build-push-XCgaFZ/iidfile --platform linux/amd64,linux/arm64,linux/arm/v7 --tag ***/cutsolver_frontend:latest --tag ***/cutsolver_frontend: --tag ghcr.io/***/cutsolver_frontend:latest --tag ghcr.io/***/cutsolver_frontend: --metadata-file /tmp/docker-build-push-XCgaFZ/metadata-file --push .
ERROR: invalid tag "***/cutsolver_frontend:": invalid reference format
Error: buildx failed with: ERROR: invalid tag "***/cutsolver_frontend:": invalid reference format

Assumption: Spaces at the start of the lines are not stripped properly. Sadly, they are needed for indentation, no idea how to fix that.

ModischFabrications commented 1 year ago

oh crap, it's missing the env variable! Might want to check out https://github.com/docker/build-push-action/blob/master/.github/workflows/example.yml then, there is a metadata step that might do everything right,