Remove some un-needed packages #10
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: build | |
on: | |
push: | |
branches: [ main ] | |
paths-ignore: [ README.md, justfile] | |
pull_request: | |
branches: [ main ] | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
permissions: write-all | |
steps: | |
- name: Install Build Dependencies | |
run: | | |
sudo apt-get update && sudo apt-get -y install fuse-overlayfs podman | |
- name: Install Just | |
uses: extractions/setup-just@v2 | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
- name: Build image | |
run: | | |
just build | |
- name: Deploy image | |
run: | | |
echo "${{ secrets.GITHUB_TOKEN }}" | podman login ghcr.io --username=${GITHUB_REPOSITORY_OWNER} --password-stdin | |
just push ghcr.io/${GITHUB_REPOSITORY_OWNER} |