Skip to content

Commit

Permalink
cd: new cd version
Browse files Browse the repository at this point in the history
  • Loading branch information
eladyn committed Dec 30, 2024
1 parent e4e4095 commit 14fd8e1
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/new_cd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Continuous Deployment (new)

on:
push:
tags:
- 'v*.*.*'
branches:
- master
- cd_rework_new

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Setup Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Create compose file
run: |
echo 'services:\
build-container:
image: rust:1.79-bookworm
platform: linux/arm64
command: bash -c "
apt-get update &&
apt-get install -y \
libasound2-dev \
libssl-dev \
pkg-config &&
cargo build --release"
working_dir: /build
volumes:
- ./:/build' > docker-compose.yml
- name: Run compose file
run: docker-compose up


0 comments on commit 14fd8e1

Please sign in to comment.