linux-iso-seeder/.forgejo/workflows/build-docker.yaml
Laborratte5 572b61d5a4
Some checks failed
/ publish-docker (push) Failing after 46s
another fix
2025-11-15 15:47:05 +01:00

27 lines
833 B
YAML

on:
push:
branches:
- main
- forgejo-action
schedule:
- cron: '@monthly'
enable-email-notification: true
jobs:
publish-docker:
runs-on: ubuntu-act
steps:
- uses: https://code.forgejo.org/actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: create-version-string
run: echo linux-iso-seeder-version-tag=$(git rev-parse --short HEAD)-$(date --utc --iso-8601) >> $FORGEJO_OUTPUT
- run: echo ${{ steps.create-version-string.outputs.linux-iso-seeder-version-tag }}
- name: Build and push
uses: docker/build-push-action@v6
with:
#push: true
tags: |
git.ratte.dev/laborratte5/linux-iso-seeder:latest
git.ratte.dev/laborratte5/linux-iso-seeder:$ISO_SEEDER_TAG