diff --git a/.github/workflows/build_and_push.yml b/.github/workflows/build_and_push.yml index f5423cb782..a7ca34ddd4 100644 --- a/.github/workflows/build_and_push.yml +++ b/.github/workflows/build_and_push.yml @@ -1,16 +1,18 @@ name: Build and Push Docker Image -on: - workflow_dispatch: - inputs: - testing: - description: "Build with testing features" - type: boolean - default: false - required: false - push: - branches: - - nightly +on: pull_request + +# on: +# workflow_dispatch: +# inputs: +# testing: +# description: "Build with testing features" +# type: boolean +# default: false +# required: false +# push: +# branches: +# - nightly env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -18,7 +20,7 @@ env: jobs: linux_amd64_binary_extraction: - runs-on: ubicloud-standard-30 + runs-on: tenki-standard-xlarge-32c-128g steps: - name: Checkout uses: actions/checkout@v5 @@ -68,11 +70,11 @@ jobs: - name: Set up QEMU uses: docker/setup-qemu-action@v3 - - name: Login to Docker Hub - uses: docker/login-action@v3 - with: - username: ${{ vars.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_TOKEN }} + # - name: Login to Docker Hub + # uses: docker/login-action@v3 + # with: + # username: ${{ vars.DOCKERHUB_USERNAME }} + # password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Build Docker image uses: docker/build-push-action@v6 @@ -80,9 +82,9 @@ jobs: file: ./docker/build-push/nightly/Dockerfile context: ./docker/build-push/nightly tags: | - ${{ vars.DOCKERHUB_USERNAME }}/${{ steps.build.outputs.image_name }}:${{ env.IMAGE_TAG }} - ${{ vars.DOCKERHUB_USERNAME }}/${{ steps.build.outputs.image_name }}:latest + tenkicloud/${{ steps.build.outputs.image_name }}:${{ env.IMAGE_TAG }} + tenkicloud/${{ steps.build.outputs.image_name }}:latest platforms: linux/amd64 - push: true + push: false load: false provenance: false