Skip to content

Commit

Permalink
Add CI to build Container on MRs
Browse files Browse the repository at this point in the history
  • Loading branch information
Odilhao committed Oct 22, 2024
1 parent 853ac70 commit 2a6d181
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: CI

permissions:
actions: read

on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
build-swaywm:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Build container
run: sudo podman build -t ghcr.io/odilhao/bootc-sway:$(echo ${GITHUB_REF} | tr '/' '_') .
1 change: 1 addition & 0 deletions Containerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM quay.io/fedora/fedora-bootc:40
LABEL org.opencontainers.image.source="https://github.com/Odilhao/bootc-sway"

RUN mkdir -p /var/roothome /data /var/home

Expand Down

0 comments on commit 2a6d181

Please sign in to comment.