diff --git a/.github/workflows/workflow.yaml b/.github/workflows/workflow.yaml index 4294135..590ff19 100644 --- a/.github/workflows/workflow.yaml +++ b/.github/workflows/workflow.yaml @@ -62,34 +62,3 @@ jobs: tar -xzf gitleaks_8.10.1_linux_x64.tar.gz && \ sudo install gitleaks /usr/bin && \ gitleaks detect --report-format json --report-path leak_report -v - - docker: - runs-on: ubuntu-latest - needs: build - if: - contains(' - refs/heads/main - ', github.ref) - - steps: - - name: Checkout - uses: actions/checkout@v2 - with: - submodules: recursive - - name: Set up QEMU - uses: docker/setup-qemu-action@v1 - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 - - name: Login to DockerHub - uses: docker/login-action@v1 - with: - username: ${{secrets.DOCKER_USER}} - password: ${{secrets.DOCKER_PASSWORD}} - - name: Build and push - uses: docker/build-push-action@v2 - if: github.ref == 'refs/heads/main' - with: - context: . - push: true - tags: valory/${{ github.event.repository.name }}:main # note need to get the base ref to force for the branch -