mirror of
https://github.com/Laborratte5/linux-iso-seeder.git
synced 2025-12-31 01:18:16 +01:00
Merge branch 'main' into forgejo-action
This commit is contained in:
commit
16c7878ca7
2 changed files with 1 additions and 30 deletions
|
|
@ -12,6 +12,6 @@ jobs:
|
||||||
runs-on: ubuntu-act
|
runs-on: ubuntu-act
|
||||||
steps:
|
steps:
|
||||||
- uses: https://code.forgejo.org/actions/checkout@v4
|
- uses: https://code.forgejo.org/actions/checkout@v4
|
||||||
- run: docker build -t git.ratte.dev/Laborratte5/linux-iso-seeder:{tag}
|
- run: docker build -t git.ratte.dev/Laborratte5/linux-iso-seeder:{tag} .
|
||||||
- run: docker push git.ratte.dev/Laborratte5/linux-iso-seeder:{tag}
|
- run: docker push git.ratte.dev/Laborratte5/linux-iso-seeder:{tag}
|
||||||
|
|
||||||
|
|
|
||||||
29
.github/workflows/docker-image.yml
vendored
29
.github/workflows/docker-image.yml
vendored
|
|
@ -1,29 +0,0 @@
|
||||||
name: Docker Image CI
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches: [ "main" ]
|
|
||||||
pull_request:
|
|
||||||
branches: [ "main" ]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: Log in to GitHub Container Registry
|
|
||||||
uses: docker/login-action@v3
|
|
||||||
with:
|
|
||||||
registry: ghcr.io
|
|
||||||
username: ${{ github.actor }}
|
|
||||||
password: ${{ secrets.GHCR_TOKEN }}
|
|
||||||
|
|
||||||
- name: Build the Docker image
|
|
||||||
run: |
|
|
||||||
docker build . --file Dockerfile --tag ghcr.io/squazz/linux-iso-seeder:latest
|
|
||||||
|
|
||||||
- name: Push the Docker image
|
|
||||||
run: |
|
|
||||||
docker push ghcr.io/squazz/linux-iso-seeder:latest
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue