Skip to content

Commit

Permalink
feat: provide workflow #2
Browse files Browse the repository at this point in the history
  • Loading branch information
1995parham committed Mar 4, 2024
1 parent 6d0ae1f commit 0fb9288
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -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
17 changes: 17 additions & 0 deletions docker-bake.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"group": {
"default": {
"targets": [
"ceph-testing"
]
}
},
"target": {
"ceph-testing": {
"dockerfile": "Dockerfile",
"tags": [
"ghcr.io/snapp-incubator/ceph-testing-container"
]
}
}
}

0 comments on commit 0fb9288

Please sign in to comment.