Skip to content
TheChatArchiveThe Chat Archive
alpaca-13b· StanfordHugging Face Arena Human Preference 55K

how to write a github workfolw that can check if a docker image is updated since last…

From a Chatbot Arena battleThe same person sent this prompt to two anonymous models at once. Compare it with Microsoftwizardlm-13b’s answer.
  1. User

    how to write a github workfolw that can check if a docker image is updated since last known version

  2. Assistant

    The following steps can be used to write a GitHub workflow that checks if a Docker image has been updated since the last known version:

    1. Create a new branch in the GitHub repository.
    2. Create a Dockerfile in the branch and add the instructions to build the docker image.
    3. Build and push the Docker image to the repository.
    4. Create a GitHub action that runs a Docker image scan to check if the current Docker image is up to date.
    5. Set up a GitHub repo hook to run the scan on every push to the branch.
    6. If the scan reports that the image has been updated, send a notification to the repository owners.

Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.