Skip to content

Commit

Permalink
bizhost
Browse files Browse the repository at this point in the history
  • Loading branch information
ro0NL committed Dec 27, 2024
1 parent a49a003 commit 4b79e0c
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions .github/workflows/docker-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,29 +12,24 @@ env:

jobs:
build:
runs-on: ubuntu-latest
runs-on: ubuntu-bizhost
steps:
-
uses: actions/[email protected]
-
uses: docker/[email protected]
with:
buildkitd-config-inline: |
[registry."docker.io"]
mirrors = ["mirror.gcr.io"]
-
id: build
uses: docker/[email protected]
with:
context: .
platforms: linux/arm64
load: true
# https://docs.docker.com/build/ci/github-actions/cache/#github-cache
cache-from: type=gha
cache-to: type=gha,mode=max
# -
# run: |
# docker run --rm --entrypoint=sh "${{ steps.build.outputs.imageid }}"
-
run: |
docker run --rm --entrypoint=sh "${{ steps.build.outputs.imageid }}"
-
uses: docker/[email protected]
with:
Expand All @@ -51,7 +46,6 @@ jobs:
uses: docker/[email protected]
with:
context: .
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
Expand Down

0 comments on commit 4b79e0c

Please sign in to comment.