mirror of
https://github.com/Laborratte5/linux-iso-seeder.git
synced 2025-12-30 17:08:17 +01:00
27 lines
814 B
YAML
27 lines
814 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 $(git rev-parse --short HEAD)-$(date --utc --iso-8601) >> $FORGEJO_OUTPUT
|
|
- run: echo ${{ steps.create-version-string.outputs.value }}
|
|
- 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:${{ steps.create-version-string.outputs.value }}
|