Problem with uploading artifacts in docker runner
Hello everyone,
I am newbie in gitlab. This is my first post here. I have problem with collecting artifacts inside docker runner using CI Here is my .gitlab-ci.yml
default:
image: ubuntu:latest
script:
- echo "hello"
build:
image: ubuntu:latest
script:
- echo "dupa" > /dupa
artifacts:
when: always
paths:
- /dupa
and here is output
Running with gitlab-runner 13.11.0 (7f7a4bb0)
on arch-docker vipWtAYZ
Preparing the "docker" executor 00:03
Using Docker executor with image ubuntu:latest ...
Pulling docker image ubuntu:latest ...
Using docker image sha256:7e0aa2d69a153215c790488ed1fcec162015e973e49962d438e18249d16fa9bd for ubuntu:latest with digest ubuntu@sha256:cf31af331f38d1d7158470e095b132acd126a7180a54f263d386da88eb681d93 ...
Preparing environment 00:00
Running on runner-vipwtayz-project-14-concurrent-0 via arch...
Getting source from Git repository 00:01
Fetching changes with git depth set to 50...
Reinitialized existing Git repository in /builds/root/ubuntu-docker/.git/
Checking out b145a920 as master...
Skipping Git submodules setup
Executing "step_script" stage of the job script 00:00
Using docker image sha256:7e0aa2d69a153215c790488ed1fcec162015e973e49962d438e18249d16fa9bd for ubuntu:latest with digest ubuntu@sha256:cf31af331f38d1d7158470e095b132acd126a7180a54f263d386da88eb681d93 ...
$ echo "dupa" > /dupa
Uploading artifacts for successful job 00:00
Uploading artifacts...
WARNING: /dupa: no matching files
ERROR: No files to upload
Job succeeded
Do anyone have any idea?
Edited by trolo lolo