Skip to content

Commit

Permalink
Merge pull request #12 from TheSpad/actions-v6
Browse files Browse the repository at this point in the history
  • Loading branch information
thespad authored Apr 7, 2022
2 parents b646767 + 58a77f5 commit 632f8e1
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/call-baseimage-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ on:

jobs:
call-workflow:
uses: thespad/actions/.github/workflows/check-baseimage-update.yml@v5
uses: thespad/actions/.github/workflows/check-baseimage-update.yml@v6
with:
repo_owner: ${{ github.repository_owner }}
repo_owner: "thespad"
baseimage: "alpine"
basebranch: "3.15"
app_name: "dive"
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/call-build-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,13 @@ on:

jobs:
call-workflow:
uses: thespad/actions/.github/workflows/build-image.yml@v5
uses: thespad/actions/.github/workflows/build-image.yml@v6
with:
repo_owner: ${{ github.repository_owner }}
repo_owner: "thespad"
app_name: "dive"
release_type: "github"
release_url: "https://api.github.com/repos/wagoodman/dive"
dockerhub_user: "thespad"
target-arch: "all"
secrets:
dockerhub_password: ${{ secrets.DOCKER_PASSWORD }}
4 changes: 2 additions & 2 deletions .github/workflows/call-check-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ on:

jobs:
call-workflow:
uses: thespad/actions/.github/workflows/check-and-release.yml@v5
uses: thespad/actions/.github/workflows/check-and-release.yml@v6
with:
repo_owner: ${{ github.repository_owner }}
repo_owner: "thespad"
app_name: "dive"
release_type: "github"
release_url: "https://api.github.com/repos/wagoodman/dive"
Expand Down
42 changes: 41 additions & 1 deletion docker-bake.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,47 @@ target "image-local" {
output = ["type=docker"]
}

target "image-all" {
target "amd64" {
inherits = ["image"]
dockerfile = "Dockerfile"
platforms = [
"linux/amd64"
]
}

target "aarch64" {
inherits = ["image"]
dockerfile = "Dockerfile.aarch64"
platforms = [
"linux/arm64"
]
}

target "armhf" {
inherits = ["image"]
dockerfile = "Dockerfile.armhf"
platforms = [
"linux/arm/v7"
]
}

target "64" {
inherits = ["image"]
platforms = [
"linux/amd64",
"linux/arm64"
]
}

target "arm" {
inherits = ["image"]
platforms = [
"linux/arm64",
"linux/arm/v7"
]
}

target "all" {
inherits = ["image"]
platforms = [
"linux/amd64",
Expand Down

0 comments on commit 632f8e1

Please sign in to comment.