-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cherrypick: Starter GitHub Workflow for testing releases.
- Loading branch information
Showing
1 changed file
with
47 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
name: Debian Bookworm Release | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
workflow_dispatch: | ||
# allows manual execution of the workflow | ||
|
||
defaults: | ||
run: | ||
shell: bash | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
# - name: Build and package | ||
# uses: docker/build-push-action@v2 | ||
# with: | ||
# context: . | ||
# file: Dockerfile | ||
# push: false | ||
# tags: kdash-build:latest | ||
|
||
- name: Build Docker image | ||
run: docker build -t kdeck-build . | ||
|
||
- name: Run build in Docker container | ||
#run: docker run -v "$(pwd):/src" kdeck-build | ||
run: docker run -v "build:/src/build" kdeck-build | ||
|
||
# - name: Create tarball | ||
# run: | | ||
# mkdir release | ||
# cp path/to/executable release/ | ||
# cp path/to/LICENSE release/ | ||
# tar -czvf release.tar.gz release/ | ||
|
||
# - name: Upload artifact | ||
# uses: actions/upload-artifact@v2 | ||
# with: | ||
# name: release-artifact | ||
# path: release.tar.gz |