1
0
Fork 0
mirror of https://github.com/docker/build-push-action.git synced 2025-06-28 15:26:42 +02:00

updates readme and troubleshooting

This commit is contained in:
Prajjwal 2025-03-21 13:37:55 +05:30
parent 9c054f0f9c
commit 1aa09e8e09
3 changed files with 35 additions and 74 deletions

View file

@ -40,7 +40,7 @@ on:
jobs:
containerd:
runs-on: ubuntu-latest
runs-on: warp-ubuntu-latest-x64-2x
steps:
-
name: Checkout
@ -48,17 +48,12 @@ jobs:
-
name: Set up QEMU
uses: docker/setup-qemu-action@v3
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
buildkitd-flags: --debug
-
name: Set up containerd
uses: crazy-max/ghaction-setup-containerd@v2
-
name: Build Docker image
uses: docker/build-push-action@v6
uses: Warpbuilds/build-push-action@v6
with:
context: .
platforms: linux/amd64,linux/arm64
@ -111,10 +106,11 @@ to generate sanitized tags:
tags: latest
- name: Build and push
uses: docker/build-push-action@v6
uses: Warpbuilds/build-push-action@v6
with:
context: .
push: true
profile-name: super-fast-builder
tags: ${{ steps.meta.outputs.tags }}
```
@ -129,9 +125,10 @@ Or a dedicated step to sanitize the slug:
script: return 'ghcr.io/${{ github.repository }}'.toLowerCase()
- name: Build and push
uses: docker/build-push-action@v6
uses: Warpbuilds/build-push-action@v6
with:
context: .
push: true
profile-name: super-fast-builder
tags: ${{ steps.repo_slug.outputs.result }}:latest
```