Skip to content

Commit

Permalink
Fix release job
Browse files Browse the repository at this point in the history
  • Loading branch information
MaeIsBad committed Oct 26, 2023
1 parent 0030893 commit 871ed26
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,6 @@ jobs:
contents: read
steps:
- uses: actions/download-artifact@v3
- name: show structure
run: tree
#- name: Configure AWS credentials
# uses: aws-actions/configure-aws-credentials@v2
# with:
Expand All @@ -87,8 +85,8 @@ jobs:
rust_arch="$([ "$arch" = "arm64" ] && echo aarch64 || echo x86_64)-unknown-linux-musl"
ctr="$(buildah from --arch $arch scratch)"
buildah copy "$ctr" "./target/$rust_arch/release/localauth0" "/localauth0"
buildah copy "$ctr" ./web/dist/ /web
buildah copy "$ctr" "./localauth0-$rust_arch/localauth0" "/localauth0"
buildah copy "$ctr" ./web/ /web
buildah config --env 'RUST_LOG error,localauth0=info' --cmd '["/localauth0"]' "$ctr"
buildah commit "$ctr" "localauth0:${{ inputs.tag_name || github.event.release.tag_name }}"
done
Expand Down

0 comments on commit 871ed26

Please sign in to comment.