mirror of
https://github.com/Laborratte5/linux-iso-seeder.git
synced 2025-12-30 17:08:17 +01:00
Use docker actions instead of docker commands
Run on ubuntu-latest since docker actions should setup everyting automatically.
This commit is contained in:
parent
40b6706058
commit
0a08f1b165
1 changed files with 10 additions and 5 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue