Skip to content

SWE-agent takes a GitHub issue and tries to automatically fix it, using your LM of choice. It can also be employed for offensive cybersecurity or competitive coding challenges. [NeurIPS 2024]

CI: Release to dockerhub via github actions (#440)

Kilian Lieret875ef12a8302
diff --git a/.github/workflows/release-dockerhub.yaml b/.github/workflows/release-dockerhub.yaml
new file mode 100644
index 00000000..88d3cc65
--- /dev/null
+++ b/.github/workflows/release-dockerhub.yaml
@@ -0,0 +1,19 @@
+name: Release to dockerhub
+
+on:
+ schedule:
+ - cron: '0 0 * * *'
+
+jobs:
+ login:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Login to Docker Hub
+ uses: docker/login-action@v3
+ with:
+ username: sweagent
+ password: ${{ secrets.DOCKERHUB_TOKEN }}
+ - name: Checkout code
+ uses: actions/checkout@v2
+ - name: Run release script
+ run: ./release_dockerhub.sh sweagent latest
\ No newline at end of file
diff --git a/docs/installation/docker.md b/docs/installation/docker.md
index e3435334..1ecfbd4c 100644
--- a/docs/installation/docker.md
+++ b/docs/installation/docker.md
@@ -1,11 +1,5 @@
# Fallback: Usage with docker
-!!! note "Versions"
- The docker image gets updated with every release. This means that there is some
- time lag between the introduction of the latest features and their availability
- in docker.
- We generally recommend [installing from source](source.md).
-
Instead of installing SWE-agent from source, you can also run the software directly using Docker.
1. [Install Docker](https://docs.docker.com/engine/install/), then start Docker locally.