Compare commits

..

No commits in common. "237fc1eb70836052931e5aad39c81a1494c25f7b" and "4aa7aa99f95693420811b746e0360a71e9172e50" have entirely different histories.

2 changed files with 2 additions and 13 deletions

View file

@ -10,8 +10,6 @@ jobs:
docker: docker:
name: docker build name: docker build
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
needs:
- test
steps: steps:
- uses: docker/login-action@v3 - uses: docker/login-action@v3
with: with:
@ -21,7 +19,3 @@ jobs:
with: with:
push: true push: true
tags: karcsesz/fingerlink:latest tags: karcsesz/fingerlink:latest
- uses: docker/build-push-action@v5
with:
push: true
tags: karcsesz/fingerlink:latest-nano

View file

@ -13,13 +13,8 @@ COPY . .
RUN cargo build --target $target --release RUN cargo build --target $target --release
FROM alpine:latest FROM scratch
ARG editor=vim
RUN apk add --no-cache $editor
ENV EDITOR=$editor
ENV PATH="${PATH}:/fingerlink"
WORKDIR /fingerlink WORKDIR /fingerlink
COPY --from=builder /fingerlink/target/x86_64-unknown-linux-musl/release/fingerlink /fingerlink/fingerlink COPY --from=builder /fingerlink/target/x86_64-unknown-linux-musl/release/fingerlink /fingerlink/fingerlink