Silverblue #32
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
name: Silverblue | |
on: | |
schedule: | |
- cron: "0 5 * * *" | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- '**.md' | |
- '**.txt' | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Maximize build disk space (Only remove unwanted software) | |
uses: AdityaGarg8/[email protected] | |
with: | |
remove-android: 'true' | |
remove-dotnet: 'true' | |
remove-haskell: 'true' | |
remove-codeql: 'true' | |
remove-docker-images: 'true' | |
remove-large-packages: 'true' | |
remove-cached-tools: 'true' | |
remove-swapfile: 'true' | |
- name: Checkout Push to Registry action | |
uses: actions/checkout@v4 | |
- name: Build Image | |
shell: bash | |
run: podman build . -t ghcr.io/emblem-66/silverblue:latest | |
- name: Login to ghcr.io | |
shell: bash | |
run: podman login ghcr.io -u Emblem-66 -p ${{ secrets.GITHUB_TOKEN }} | |
- name: Push Image to ghcr.io | |
shell: bash | |
run: podman push ghcr.io/emblem-66/silverblue:latest | |