Skip to content

Commit ff25c43

Browse files
committed
Revert "ci: Add bin-image workflow"
This reverts commit 15d4c99. Signed-off-by: Sebastiaan van Stijn <[email protected]>
1 parent 688de6d commit ff25c43

2 files changed

Lines changed: 0 additions & 70 deletions

File tree

.github/workflows/build.yml

Lines changed: 0 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@ concurrency:
44
group: ${{ github.workflow }}-${{ github.ref }}
55
cancel-in-progress: true
66

7-
env:
8-
VERSION: ${{ github.ref }}
9-
107
on:
118
workflow_dispatch:
129
push:
@@ -89,50 +86,6 @@ jobs:
8986
path: /tmp/out/*
9087
if-no-files-found: error
9188

92-
bin-image:
93-
runs-on: ubuntu-20.04
94-
if: ${{ github.event_name != 'pull_request' && github.repository == 'docker/cli' }}
95-
steps:
96-
-
97-
name: Checkout
98-
uses: actions/checkout@v4
99-
-
100-
name: Set up QEMU
101-
uses: docker/setup-qemu-action@v3
102-
-
103-
name: Set up Docker Buildx
104-
uses: docker/setup-buildx-action@v3
105-
-
106-
name: Docker meta
107-
id: meta
108-
uses: docker/metadata-action@v5
109-
with:
110-
images: dockereng/cli-bin
111-
tags: |
112-
type=semver,pattern={{version}}
113-
type=ref,event=branch
114-
type=ref,event=pr
115-
type=sha
116-
-
117-
name: Login to DockerHub
118-
if: github.event_name != 'pull_request'
119-
uses: docker/login-action@v3
120-
with:
121-
username: ${{ secrets.DOCKERHUB_CLIBIN_USERNAME }}
122-
password: ${{ secrets.DOCKERHUB_CLIBIN_TOKEN }}
123-
-
124-
name: Build and push image
125-
uses: docker/bake-action@v4
126-
with:
127-
files: |
128-
./docker-bake.hcl
129-
${{ steps.meta.outputs.bake-file }}
130-
targets: bin-image-cross
131-
push: ${{ github.event_name != 'pull_request' }}
132-
set: |
133-
*.cache-from=type=gha,scope=bin-image
134-
*.cache-to=type=gha,scope=bin-image,mode=max
135-
13689
prepare-plugins:
13790
runs-on: ubuntu-20.04
13891
outputs:

docker-bake.hcl

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -165,26 +165,3 @@ target "e2e-gencerts" {
165165
dockerfile = "./e2e/testdata/Dockerfile.gencerts"
166166
output = ["./e2e/testdata"]
167167
}
168-
169-
target "docker-metadata-action" {
170-
tags = ["cli-bin:local"]
171-
}
172-
173-
target "bin-image" {
174-
inherits = ["binary", "docker-metadata-action"]
175-
output = ["type=docker"]
176-
}
177-
178-
target "bin-image-cross" {
179-
inherits = ["bin-image"]
180-
output = ["type=image"]
181-
platforms = [
182-
"linux/amd64",
183-
"linux/arm/v6",
184-
"linux/arm/v7",
185-
"linux/arm64",
186-
"linux/ppc64le",
187-
"linux/s390x",
188-
"windows/amd64"
189-
]
190-
}

0 commit comments

Comments
 (0)