Fix artifact is missing

Signed-off-by: Fahmi Akbar Wildana <f.a.wildana@gmail.com>
This commit is contained in:
Fahmi Akbar Wildana 2019-09-09 01:29:52 +07:00
parent d992086192
commit 99d5dae83a
No known key found for this signature in database
GPG key ID: 86D1FDF35E9D3807
2 changed files with 2 additions and 2 deletions

View file

@ -51,7 +51,7 @@ jobs:
- name: Build and publish exact version
run: |
REGISTRY=${REGISTRY,,}; export TAG=${GITHUB_REF##*/}-${{ matrix.tag }};
export NU_BINS=target/release/$( [ ${{ matrix.plugin }} ] && nu* || nu )
export NU_BINS=target/release/$( [ ${{ matrix.plugin }} = true ] && echo nu* || echo nu )
echo ${{ secrets.DOCKER_REGISTRY }} | docker login docker.pkg.github.com -u ${{ github.actor }} --password-stdin
docker-compose --file docker/docker-compose.package.yml build

View file

@ -1,6 +1,6 @@
ARG artifact
ARG base
FROM ${base}
ARG artifact
COPY ${artifact} /bin/
ENTRYPOINT ["nu"]