Create docker image with version_tag
Some checks failed
/ publish-docker (push) Failing after 37s

This commit is contained in:
Laborratte 5 2025-11-15 15:57:16 +01:00
parent 6883ca9ae3
commit 22bd476864
Signed by: Laborratte5
GPG key ID: 3A30072E35202C02

View file

@ -17,11 +17,10 @@ jobs:
uses: docker/setup-buildx-action@v3 uses: docker/setup-buildx-action@v3
- id: create_version_string - id: create_version_string
run: echo 'version_tag=$(git rev-parse --short HEAD)-$(date --utc --iso-8601)' >> $FORGEJO_OUTPUT run: echo 'version_tag=$(git rev-parse --short HEAD)-$(date --utc --iso-8601)' >> $FORGEJO_OUTPUT
- run: echo ${{ steps.create_version_string.outputs.version_tag }}
- name: Build and push - name: Build and push
uses: docker/build-push-action@v6 uses: docker/build-push-action@v6
with: with:
#push: true #push: true
tags: | tags: |
git.ratte.dev/laborratte5/linux-iso-seeder:latest git.ratte.dev/laborratte5/linux-iso-seeder:latest
git.ratte.dev/laborratte5/linux-iso-seeder:$ISO_SEEDER_TAG git.ratte.dev/laborratte5/linux-iso-seeder:${{ steps.create_version_string.outputs.version_tag }}