Skip to content

Commit

Permalink
Cherrypick: Starter GitHub Workflow for testing releases.
Browse files Browse the repository at this point in the history
  • Loading branch information
mross-ua committed Jun 17, 2024
1 parent 8624a41 commit e857656
Showing 1 changed file with 47 additions and 0 deletions.
47 changes: 47 additions & 0 deletions .github/workflows/release.yaml
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

0 comments on commit e857656

Please sign in to comment.