cicd: tag docker image with current git hash and date

This commit is contained in:
Laborratte 5 2025-11-15 14:28:26 +01:00
parent ce19fdb728
commit 40b6706058
Signed by: Laborratte5
GPG key ID: 3A30072E35202C02

View file

@ -15,5 +15,5 @@ jobs:
- uses: https://code.forgejo.org/actions/checkout@v4
- run: docker build -t linux-iso-seeder:latest .
- run: docker tag linux-iso-seeder:latest git.ratte.dev/laborratte5/linux-iso-seeder:latest
- run: echo $(git rev-parse --short HEAD)-$(date --utc --iso-8601)
- run: docker tag linux-iso-seeder:latest git.ratte.dev/laborratte5/linux-iso-seeder:$(git rev-parse --short HEAD)-$(date --utc --iso-8601)