Skip to content

Commit

Permalink
Add CI/CD flow with Docker
Browse files Browse the repository at this point in the history
Minor:
- Fix banshee.patch
- Fix python dependenciy
  • Loading branch information
Victor-Jung committed Sep 26, 2024
1 parent c8bb8a9 commit 63977b0
Show file tree
Hide file tree
Showing 13 changed files with 1,101 additions and 28 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/BuildDocker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: BuildDocker

on:
# push:
# pull_request:
workflow_dispatch:

jobs:
build-docker:
permissions: write-all
name: Deploy Docker image
runs-on: ubuntu-22.04
steps:
# Free up disk space on Github-hosted runner
- name: Disk usage
run: df -h
- uses: jlumbroso/free-disk-space@v1.3.1
with:
android: true
dotnet: true
haskell: true
large-packages: true
- name: Disk usage after freeing up space
run: df -h
# Actually build the Docker container
- uses: actions/checkout@v2
- uses: docker/setup-buildx-action@v1
- name: GHCR Log-in
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v2
with:
context: .
file: Container/Dockerfile
push: true
tags: ghcr.io/victor-jung/deeploy:main
Loading

0 comments on commit 63977b0

Please sign in to comment.