Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

always run docker build for testing #2

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ env:

on:
push:
tags:
- "*-?v[0-9]+*"

jobs:
create-release:
Expand Down Expand Up @@ -115,7 +113,6 @@ jobs:

docker-release:
runs-on: ubuntu-latest
needs: create-release
steps:
- name: Checkout repository
uses: actions/checkout@v3
Expand All @@ -138,9 +135,6 @@ jobs:
run: |
image_name="${{ env.REGISTRY }}/${{ github.actor }}/${{ github.event.repository.name }}"
image_names="$image_name:${{ github.ref_name }},$image_name:unstable"
if [ "${{ needs.create-release.outputs.is-prerelease }}" = "false" ]; then
image_names="$image_names,$image_name:latest"
fi
# lowercase the name
image_names=$(echo "$image_names" | tr '[:upper:]' '[:lower:]')
echo "image_names=$image_names" >> $GITHUB_OUTPUT
Expand Down
1 change: 1 addition & 0 deletions apps/backend/ci/build-app.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@ set -euxo pipefail

export RUST_TARGET_TRIPLE=$(eval "echo \$RUST_TARGET_TRIPLE_$TARGETARCH")

rustup target add $RUST_TARGET_TRIPLE
cargo build --profile dist --bin ryot --target ${RUST_TARGET_TRIPLE}
cp -R /app/target/${RUST_TARGET_TRIPLE}/dist/ryot /app/ryot
Loading