Skip to content

Commit

Permalink
debug: bin-image from ci-bin-image branch (this PR)
Browse files Browse the repository at this point in the history
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
  • Loading branch information
vvoland committed Jan 12, 2024
1 parent 15d4c99 commit 3bb23b3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ on:
branches:
- 'master'
- '[0-9]+.[0-9]+'
- 'ci-bin-image'
tags:
- 'v*'
pull_request:
Expand Down Expand Up @@ -91,7 +92,7 @@ jobs:

bin-image:
runs-on: ubuntu-20.04
if: ${{ github.event_name != 'pull_request' && github.repository == 'docker/cli' }}
if: ${{ github.repository == 'docker/cli' }}
steps:
-
name: Checkout
Expand All @@ -115,7 +116,6 @@ jobs:
type=sha
-
name: Login to DockerHub
if: github.event_name != 'pull_request'
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_CLIBIN_USERNAME }}
Expand All @@ -128,7 +128,7 @@ jobs:
./docker-bake.hcl
${{ steps.meta.outputs.bake-file }}
targets: bin-image-cross
push: ${{ github.event_name != 'pull_request' }}
push: true
set: |
*.cache-from=type=gha,scope=bin-image
*.cache-to=type=gha,scope=bin-image,mode=max
Expand Down

0 comments on commit 3bb23b3

Please sign in to comment.