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.
- Change the docker load command to include -i flag which specifies the input file from which to load the image/archive. This corrects the formation of the IMAGE_TAG.
This commit introduces a new step to the nix workflow that includes uploading the built image to a docker registry. It also tags the image and pushes it to the user's docker registry for easier access and use.
- Jobs in Forgejo workflows are updated to remove the 'test' job and expand the 'build' job.
- This is performed to streamline the workflows and employ a more central build job instead of individual testing ones.
- Also, the 'nix build' command is updated in the 'build' job for proper syntax.
- A new test job is added in the Nix Github Actions workflow
- This test runs on ubuntu, and checks out the current repository and lists its content
- These steps were added to increase visibility on the test environment
- This update adds a new step into the nix workflow for code checkout using `actions/checkout@v3`.
- This is important to ensure the latest code is used for the `nix build` execution step.
- A .gitignore file has been added to the project root directory.
- This file is configured to exclude .idea directory which often contains IDE specific settings that should not be part of the repo.