mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-10 14:45:00 +00:00
![]() # Aider chat conversation: USER: i also want to update :latest when i push ASSISTANT: To update the `:latest` tag each time you push, you can add it to the `tags` parameter of the `docker/build-push-action` action in your workflow file. This will build and push the Docker image with both the branch or tag name and `latest` as tags. Here's how you can update your workflow file: ```yaml .github/workflows/release.yml <<<<<<< HEAD - name: Build and push Docker image uses: docker/build-push-action@v5 with: context: . file: ./docker/Dockerfile push: true tags: ${{ secrets.DOCKERHUB_USERNAME }}/aider:${{ github.ref_name }} ======= - name: Build and push Docker image uses: docker/build-push-action@v5 with: context: . file: ./docker/Dockerfile push: true tags: | ${{ secrets.DOCKERHUB_USERNAME }}/aider:${{ github.ref_name }} ${{ secrets.DOCKERHUB_USERNAME }}/aider:latest >>>>>>> updated ``` This will ensure that the `:latest` tag always points to the most recently pushed image. |
||
---|---|---|
.. | ||
release.yml | ||
ubuntu-tests.yml | ||
windows-tests.yml |