-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (37 loc) · 1.04 KB
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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