diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml new file mode 100644 index 0000000..00391ec --- /dev/null +++ b/.github/workflows/build.yaml @@ -0,0 +1,21 @@ +--- +name: build +on: + - push +jobs: + docker: + name: docker + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: docker/setup-buildx-action@v3 + - uses: docker/setup-qemu-action@v3 + - uses: docker/login-action@v3 + with: + registry: ghcr.io + username: ${{ github.repository_owner }} + password: ${{ secrets.GITHUB_TOKEN }} + - uses: docker/bake-action@v4 + with: + files: "docker-bake.json" + push: true diff --git a/docker-bake.json b/docker-bake.json new file mode 100644 index 0000000..9af665c --- /dev/null +++ b/docker-bake.json @@ -0,0 +1,17 @@ +{ + "group": { + "default": { + "targets": [ + "ceph-testing" + ] + } + }, + "target": { + "ceph-testing": { + "dockerfile": "Dockerfile", + "tags": [ + "ghcr.io/snapp-incubator/ceph-testing-container" + ] + } + } +}