- Corrected syntax errors in output redirection
- Ensured that LATEST_TAG and VERSION_TAG are set correctly in the GitHub Actions output
These changes fix an issue where the command was improperly formatted,
which could lead to unexpected behavior during the workflow execution.
- Store latest and version tags in variables
- Clean up output by using variables for tags
This update improves the clarity of the tagging process in the
Docker workflow configuration. The tags are now stored in
variables for better manageability and consistency in
environment output.
- Remove extraneous dollar sign from LATEST_TAG
- Ensure correct evaluation during workflow execution
This fix resolves an issue that could cause the incorrect
setting of the LATEST_TAG environment variable in the
GitHub Actions workflow, ensuring proper deployment tagging.
Update Docker workflow to include image prefix in version and latest tag
Change the Docker image prefix in the GitHub workflow to include the registry, username and image name.
Update the environment variables to use the new format for the image prefix.
- Update fetch-depth in Docker workflow configuration
- No additional dependencies added
This change updates the fetch-depth setting in the GitHub Actions Docker workflow. This ensures that we get the full Git history for the code checkout. There are no additional dependencies added to this change.
- Include checkout code step using actions/checkout@v3
- Set fetch-depth to 0 to retrieve the full git history
This change ensures that the workflow has access to the complete
commit history, which may be necessary for certain operations
within the Docker build process.
- Change hardcoded Docker Hub username to use secrets
- Update workflow to securely reference DockerHub credentials
This update enhances the security of the GitHub Actions workflow
by using secrets instead of exposing sensitive information
in the codebase. This ensures that the Docker Hub username is
kept private and reduces the risk of accidental exposure.
- Add Docker login step
- Set up QEMU
- Set up Docker Buildx
- Build and push Docker image
This feature allows for automated building and publishing of Docker images to Docker Hub. It includes proper setup of QEMU and Docker Buildx for cross-platform compatibility and efficient image building.