Rechunk Github Tester #25
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow is for testing locally with act | |
# ./builder/prepare.sh | |
# export DOCKER_HOST='unix:///var/run/podman/podman.sock' | |
# sudo act -P ubuntu-latest=-self-hosted | |
name: Rechunk Github Tester | |
on: [ workflow_dispatch ] | |
jobs: | |
online_test: | |
runs-on: ubuntu-24.04 | |
steps: | |
- run: echo "${{ secrets.GITHUB_TOKEN }}" | sudo podman login ghcr.io -u ${{ github.actor }} --password-stdin | |
- uses: actions/checkout@v4 | |
- name: Maximize build space | |
uses: ublue-os/remove-unwanted-software@v7 | |
- name: Run Rechunker | |
id: rechunk | |
uses: ./. | |
with: | |
ref: 'ghcr.io/ublue-os/bazzite:40-20240627' | |
prev-ref: 'ghcr.io/antheas/bazzite-automated:stable' | |
rechunk: 'ghcr.io/antheas/rechunk:latest' | |
version: '3.5_<date>' | |
labels: | | |
io.artifacthub.package.logo-url=https://raw.githubusercontent.com/ublue-os/bazzite/main/repo_content/logo.png | |
io.artifacthub.package.readme-url=https://bazzite.gg/ | |
org.opencontainers.image.created=<timestamp> | |
org.opencontainers.image.description=Bazzite is an OCI image that serves as an alternative operating system for the Steam Deck, and a ready-to-game SteamOS-like for desktop computers, living room home theater PCs, and numerous other handheld PCs. | |
org.opencontainers.image.licenses=Apache-2.0 | |
org.opencontainers.image.revision=${{ github.sha }} | |
org.opencontainers.image.source=https://github.com/ublue-os/bazzite | |
org.opencontainers.image.title=bazzite | |
org.opencontainers.image.url=https://github.com/ublue-os/bazzite | |
- name: Upload Image | |
id: upload | |
shell: bash | |
run: | | |
sudo skopeo copy ${{ steps.rechunk.outputs.ref }} docker://ghcr.io/antheas/bazzite-automated:latest | |
sudo skopeo copy ${{ steps.rechunk.outputs.ref }} docker://ghcr.io/antheas/bazzite-automated:stable | |
sudo skopeo copy ${{ steps.rechunk.outputs.ref }} docker://ghcr.io/antheas/bazzite-automated:${{ steps.rechunk.outputs.version }} | |