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 on release (#531)
Kilian Lieret43e8c5d49479
diff --git a/.github/workflows/check-links.yaml b/.github/workflows/check-links.yamlindex 0990af83..9588b709 100644--- a/.github/workflows/check-links.yaml+++ b/.github/workflows/check-links.yaml@@ -1,6 +1,7 @@name: Check Markdown linkson:+ workflow_dispatch:push:pull_request:schedule:diff --git a/.github/workflows/release-dockerhub.yaml b/.github/workflows/release-dockerhub-nightly.yamlsimilarity index 69%rename from .github/workflows/release-dockerhub.yamlrename to .github/workflows/release-dockerhub-nightly.yamlindex 88d3cc65..504d25e3 100644--- a/.github/workflows/release-dockerhub.yaml+++ b/.github/workflows/release-dockerhub-nightly.yaml@@ -1,11 +1,15 @@-name: Release to dockerhub+name: Release to dockerhub (nightly)on:+ workflow_dispatch:schedule:- cron: '0 0 * * *'+ push:+ tags:+ - 'v*.*.*'jobs:- login:+ release:runs-on: ubuntu-lateststeps:- name: Login to Docker Hubdiff --git a/.github/workflows/release-dockerhub-release.yaml b/.github/workflows/release-dockerhub-release.yamlnew file mode 100644index 00000000..ea3e0f50--- /dev/null+++ b/.github/workflows/release-dockerhub-release.yaml@@ -0,0 +1,22 @@+name: Release to dockerhub (release)++on:+ push:+ tags:+ - 'v*.*.*'++jobs:+ release:+ 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: Get release name+ run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV+ - name: Run release script+ run: ./release_dockerhub.sh sweagent ${{ env.RELEASE_VERSION }}\ No newline at end of filediff --git a/README.md b/README.mdindex eca204d0..ebea8527 100644--- a/README.md+++ b/README.md@@ -69,7 +69,9 @@ MIT. Check `LICENSE`.[](https://github.com/princeton-nlp/SWE-agent/actions/workflows/pytest.yaml)[](https://github.com/princeton-nlp/SWE-agent/actions/workflows/test_build_containers.yaml)-[](https://github.com/princeton-nlp/SWE-agent/actions/workflows/release-dockerhub.yaml)+[](https://github.com/princeton-nlp/SWE-agent/actions/workflows/release-dockerhub.yaml)+[](https://github.com/princeton-nlp/SWE-agent/actions/workflows/release-dockerhub-nightly.yaml)+[](https://github.com/princeton-nlp/SWE-agent/actions/workflows/release-dockerhub-release.yaml)[](https://github.com/princeton-nlp/SWE-agent/actions/workflows/build-docs.yaml)[](https://codecov.io/gh/princeton-nlp/SWE-agent)[](https://results.pre-commit.ci/latest/github/princeton-nlp/SWE-agent/main)