Use docker actions instead of docker commands

Run on ubuntu-latest since docker actions
should setup everyting automatically.
This commit is contained in:
Laborratte 5 2025-11-15 14:47:35 +01:00
parent 40b6706058
commit 0a08f1b165
Signed by: Laborratte5
GPG key ID: 3A30072E35202C02

View file

@ -10,10 +10,15 @@ enable-email-notification: true
jobs:
publish-docker:
runs-on: ubuntu-act
runs-on: ubuntu-latest
steps:
- 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: docker tag linux-iso-seeder:latest git.ratte.dev/laborratte5/linux-iso-seeder:$(git rev-parse --short HEAD)-$(date --utc --iso-8601)
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- 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:$(git rev-parse --short HEAD)-$(date --utc --iso-8601)