diff --git a/.github/workflows/build-image.yaml b/.github/workflows/build-image.yaml new file mode 100644 index 000000000..edf54aedf --- /dev/null +++ b/.github/workflows/build-image.yaml @@ -0,0 +1,33 @@ +name: build-image + +on: + push: + +jobs: + docker: + runs-on: ubuntu-latest + permissions: + contents: read + id-token: write + packages: write + steps: + - + name: Set up QEMU + uses: docker/setup-qemu-action@v3 + - + name: Set up Docker Buildx + uses: depot/setup-action@v1 + - + name: Login to Docker Hub + uses: docker/login-action@v2 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} + - + name: Build and push + uses: depot/build-push-action@v1 + with: + token: ${{ secrets.DEPOT_TOKEN }} + push: true + tags: powerml/vllm-rocm:latest + file: Dockerfile.rocm