diff --git a/.github/workflows/build-image.yaml b/.github/workflows/build-image.yaml new file mode 100644 index 0000000..c8f0c8f --- /dev/null +++ b/.github/workflows/build-image.yaml @@ -0,0 +1,19 @@ +--- + name: Build docker image + on: [push, pull_request] + permissions: read-all + jobs: + docker: + runs-on: ubuntu-latest + steps: + - 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: Build and push + uses: docker/build-push-action@v5 + with: + context: . + push: false + tags: netbox-operator