Skip to content

Commit

Permalink
Fully updated the cluster os repo
Browse files Browse the repository at this point in the history
  • Loading branch information
lunamidori5 committed Sep 14, 2024
1 parent a3ab073 commit 3556a2c
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 9 deletions.
53 changes: 45 additions & 8 deletions .github/workflows/Push_PixelArch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,45 @@ jobs:
- name: Build and push PixelArch Docker Image
uses: docker/build-push-action@master
with:
context: ./Cluster-OS/aiclusteros/
file: ./Cluster-OS/aiclusteros/arch_dockerfile
context: ./Cluster-OS/pixelarch_os/
file: ./Cluster-OS/pixelarch_os/arch_dockerfile
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

- name: Clean up Docker Cache
run: |
docker image prune -f
push_gentoo_to_hub:
name: Push Midori AI's PixelGen (Gentoo Linux) to Docker Hub
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive

- name: Log in to Docker Hub
uses: docker/login-action@master
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
logout: false

- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@master
with:
images: lunamidori5/pixelgen
tags: |
type=raw,value=latest
type=raw,value=quartz
- name: Build and push PixelGen Docker Image
uses: docker/build-push-action@master
with:
context: ./Cluster-OS/pixelgen_os/
file: ./Cluster-OS/pixelgen_os/gentoo_dockerfile
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
Expand Down Expand Up @@ -108,8 +145,8 @@ jobs:
- name: Build and push PixelArch OS (Amethyst) Docker Image
uses: docker/build-push-action@master
with:
context: ./Cluster-OS/aiclusteros/
file: ./Cluster-OS/aiclusteros/arch_dockerfile_amethyst
context: ./Cluster-OS/pixelarch_os/
file: ./Cluster-OS/pixelarch_os/arch_dockerfile_amethyst
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
Expand Down Expand Up @@ -141,8 +178,8 @@ jobs:
- name: Build and push PixelArch OS (Topaz) Docker Image
uses: docker/build-push-action@master
with:
context: ./Cluster-OS/aiclusteros/
file: ./Cluster-OS/aiclusteros/arch_dockerfile_topaz
context: ./Cluster-OS/pixelarch_os/
file: ./Cluster-OS/pixelarch_os/arch_dockerfile_topaz
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
Expand Down Expand Up @@ -174,8 +211,8 @@ jobs:
- name: Build and push PixelArch OS (Emerald) Docker Image
uses: docker/build-push-action@master
with:
context: ./Cluster-OS/aiclusteros/
file: ./Cluster-OS/aiclusteros/arch_dockerfile_emerald
context: ./Cluster-OS/pixelarch_os/
file: ./Cluster-OS/pixelarch_os/arch_dockerfile_emerald
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
Expand Down

0 comments on commit 3556a2c

Please sign in to comment.