From 8a8902cf2c686de52356231c85dfaf9857b2569b Mon Sep 17 00:00:00 2001 From: "jingshun.tq" <35712518+Teingi@users.noreply.github.com> Date: Thu, 5 Dec 2024 17:54:30 +0800 Subject: [PATCH] Add new development image (#600) * Rename Dockerfile to DockerFile * dev docker image --- .github/workflows/build_dev_docker.yml | 39 ++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 .github/workflows/build_dev_docker.yml diff --git a/.github/workflows/build_dev_docker.yml b/.github/workflows/build_dev_docker.yml new file mode 100644 index 00000000..5f928bd8 --- /dev/null +++ b/.github/workflows/build_dev_docker.yml @@ -0,0 +1,39 @@ +name: build dev docker + +on: + pull_request: + branches: + - dev + push: + branches: + - dev + +jobs: + build-docker: + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Set up QEMU + uses: docker/setup-qemu-action@v3 + + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 + + - name: Log in to Quay io + uses: docker/login-action@v3 + with: + registry: quay.io + username: ${{ secrets.QUAY_IO_USERNAME }} + password: ${{ secrets.QUAY_IO_PASSWORD }} + + - name: Create and push manifests w/o cache + uses: docker/build-push-action@v6 + with: + context: . + platforms: linux/amd64 + file: ../DockerFile + push: true + tags: | + quay.io/${{ vars.QUAY_IO_PUSH_BASE }}/obdiag-dev:latest