In the nix workflow, several diagnostic commands are added prior to the docker login attempt. This includes echoing the $PATH, checking the docker location with 'which', and listing /bin directory's contents. These are intended to troubleshoot potential issues in the continuous integration environment.
This commit is contained in:
parent
5a5f282f72
commit
d9d76faffa
|
@ -7,6 +7,9 @@ jobs:
|
||||||
- run: nix build -L .#runner
|
- run: nix build -L .#runner
|
||||||
- name: upload image
|
- name: upload image
|
||||||
run: |
|
run: |
|
||||||
|
echo $PATH
|
||||||
|
which docker
|
||||||
|
ls -al /bin
|
||||||
docker login -u ${{ secrets.REG_USER }} -p ${{ secrets.REG_TOKEN }} ${{ secrets.CI_REGISTRY }}
|
docker login -u ${{ secrets.REG_USER }} -p ${{ secrets.REG_TOKEN }} ${{ secrets.CI_REGISTRY }}
|
||||||
export IMAGE_TAG=$(docker load -i result | grep -Po 'Loaded image.*: \K.*')
|
export IMAGE_TAG=$(docker load -i result | grep -Po 'Loaded image.*: \K.*')
|
||||||
echo "Pushing image ${IMAGE_TAG}"
|
echo "Pushing image ${IMAGE_TAG}"
|
||||||
|
|
Loading…
Reference in a new issue