Miladiir / monica

Monica CRM with supervisord for sending scheduled reminders per mail
GNU General Public License v2.0
0 stars 0 forks source link

Rerun periodically #56

Open Miladiir opened 3 months ago

Miladiir commented 3 months ago

Currently triggering the pipeline from main fails because I was to clever in the past.

Only the latest tag should be rebuild periodically and pushed to the registries. The current feature of updating major, minor and latest should persist.

Run docker/build-push-action@15560696de535e4014efeff63c48f16952e52dd1
GitHub Actions runtime token ACs
Docker info
Proxy configuration
Buildx version
Builder info
/usr/bin/docker buildx build --iidfile /home/runner/work/_temp/docker-actions-toolkit-iiXU5d/build-iidfile-4b65559b58.txt --label org.opencontainers.image.created=2024-06-28T20:07:12.726Z --label org.opencontainers.image.description=Monica CRM with supervisord for sending scheduled reminders per mail --label org.opencontainers.image.licenses=AGPL-3.0 --label org.opencontainers.image.revision=95f118394b83042fbb5017a6e500a3f086e2b8ac --label org.opencontainers.image.source=https://github.com/Miladiir/monica --label org.opencontainers.image.title=monica --label org.opencontainers.image.url=https://github.com/Miladiir/monica --label org.opencontainers.image.version= --platform linux/amd64,linux/arm64/v8 --attest type=provenance,mode=max,builder-id=https://github.com/Miladiir/monica/actions/runs/9717866961/attempts/1 --secret id=GIT_AUTH_TOKEN,src=/home/runner/work/_temp/docker-actions-toolkit-iiXU5d/tmp-2547-26eD6uRIkIAG --metadata-file /home/runner/work/_temp/docker-actions-toolkit-iiXU5d/build-metadata-9055128042.json --push https://github.com/Miladiir/monica.git#95f118394b83042fbb5017a6e500a3f086e2b8ac
ERROR: tag is needed when pushing to registry
Reference
Error: buildx failed with: ERROR: tag is needed when pushing to registry
Miladiir commented 3 months ago

One idea is to extract the version from the docker file instead of creating a git tag and release

Miladiir commented 3 months ago

Implemented in a bad way. The tag is hardcoded in the workflow and needs to be updated every single time.