From 9721255835438a3233a4afbf8df75db7bf0efe88 Mon Sep 17 00:00:00 2001 From: mrproliu <741550557@qq.com> Date: Thu, 10 Oct 2024 08:27:22 +0800 Subject: [PATCH] Fix docker push image --- .github/workflows/publish-docker.yaml | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/.github/workflows/publish-docker.yaml b/.github/workflows/publish-docker.yaml index 67a7c5c0..091fcc8e 100644 --- a/.github/workflows/publish-docker.yaml +++ b/.github/workflows/publish-docker.yaml @@ -17,9 +17,7 @@ name: publish-docker on: - push: - branches: - - main + pull_request: env: HUB: ghcr.io/apache/skywalking-rover @@ -44,11 +42,5 @@ jobs: registry: ${{ env.HUB }} username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - - name: Clean spaces for docker images - run: | - sudo rm -rf /usr/share/dotnet - sudo rm -rf /opt/ghc - sudo rm -rf "/usr/local/share/boost" - sudo rm -rf "$AGENT_TOOLSDIRECTORY" - name: Build and push docker images run: make docker.push \ No newline at end of file