From dbf59d6042d5f13b44a44bdf1b936d2b4c417297 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 15 Dec 2024 11:59:39 +0100 Subject: [PATCH] stuff --- .github/workflows/docker-image.yml | 30 ---------------------------- .github/workflows/docker-publish.yml | 3 +++ 2 files changed, 3 insertions(+), 30 deletions(-) delete mode 100644 .github/workflows/docker-image.yml diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml deleted file mode 100644 index fae1c67..0000000 --- a/.github/workflows/docker-image.yml +++ /dev/null @@ -1,30 +0,0 @@ -name: Build and Push Docker Image - -on: - push: - branches: - - main - -jobs: - build: - runs-on: ubuntu-latest - - steps: - - name: Checkout code - uses: actions/checkout@v2 - - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 - - - name: Login to DockerHub - uses: docker/login-action@v1 - with: - username: ${{ secrets.DOCKER_USERNAME }} - password: ${{ secrets.DOCKER_PASSWORD }} - - - name: Build and push - uses: docker/build-push-action@v2 - with: - context: . - push: true - tags: ${{ secrets.DOCKER_USERNAME }}/openhands-sandbox:latest \ No newline at end of file diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 5c25388..10c9d2c 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -7,6 +7,9 @@ on: jobs: build: + permissions: + contents: read + packages: write runs-on: ubuntu-latest steps: