Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 0 additions & 38 deletions .github/workflows/build-docker-cli.yml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: build-docker-engine
name: build-docker

permissions:
contents: read
Expand All @@ -14,25 +14,34 @@ on:
- 'docker/[0-9]+.[0-9]+'
paths:
- '.github/workflows/.build.yml'
- '.github/workflows/build-docker-engine.yml'
- '.github/workflows/build-docker.yml'
- 'hack/scripts/**'
- 'pkg/docker-engine/**'
- 'pkg/docker-cli/**'
- 'docker-bake.hcl'
pull_request:
branches:
- 'main'
- 'docker/[0-9]+.[0-9]+'
paths:
- '.github/workflows/.build.yml'
- '.github/workflows/build-docker-engine.yml'
- '.github/workflows/build-docker.yml'
- 'hack/scripts/**'
- 'pkg/docker-engine/**'
- 'pkg/docker-cli/**'
- 'docker-bake.hcl'

jobs:
run:
engine:
uses: ./.github/workflows/.build.yml
permissions:
contents: read
with:
name: docker-engine

cli:
uses: ./.github/workflows/.build.yml
permissions:
contents: read
with:
name: docker-cli
62 changes: 0 additions & 62 deletions .github/workflows/release-docker-cli.yml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: release-docker-engine
name: release-docker

permissions:
contents: read
Expand All @@ -10,8 +10,16 @@ concurrency:
on:
workflow_dispatch:
inputs:
ref:
description: 'Tag/ref to build (e.g. v23.0.0)'
engine-ref:
description: 'Git ref for docker-engine (e.g. v28.1.0, master, a commit SHA)'
required: true
type: string
cli-ref:
description: 'Git ref for docker-cli (e.g. v28.1.0, master, a commit SHA)'
required: true
type: string
version:
description: 'Docker version (used for both engine and cli, e.g. 28.1.0)'
required: true
type: string
release:
Expand All @@ -36,13 +44,17 @@ on:
required: false
type: string
default: ''
repo:
description: '(optional) Override default repo (if want to build from a different Github repo/fork)'
engine-repo:
description: '(optional) Override default engine repo (if want to build from a different Github repo/fork)'
required: false
type: string
cli-repo:
description: '(optional) Override default cli repo (if want to build from a different Github repo/fork)'
required: false
type: string

jobs:
release:
engine:
uses: ./.github/workflows/.build.yml
permissions:
contents: write # needed to create release and upload artifacts
Expand All @@ -51,8 +63,27 @@ jobs:
release: ${{ inputs.release }}
distros: ${{ inputs.distros }}
envs: |
PKG_REPO=${{ inputs.repo }}
PKG_REF=${{ inputs.ref }}
PKG_REPO=${{ inputs.engine-repo }}
PKG_REF=${{ inputs.engine-ref }}
PKG_DEB_REVISION=${{ inputs.revision }}
PKG_RPM_RELEASE=${{ inputs.revision }}
secrets:
rh_user: ${{ secrets.RH_USER }}
rh_pass: ${{ secrets.RH_PASS }}
dockerpublicbot_username: ${{ secrets.DOCKERPUBLICBOT_USERNAME }}
dockerpublicbot_write_pat: ${{ secrets.DOCKERPUBLICBOT_WRITE_PAT }}

cli:
uses: ./.github/workflows/.build.yml
permissions:
contents: write # needed to create release and upload artifacts
with:
name: docker-cli
release: ${{ inputs.release }}
distros: ${{ inputs.distros }}
envs: |
PKG_REPO=${{ inputs.cli-repo }}
PKG_REF=${{ inputs.cli-ref }}
PKG_DEB_REVISION=${{ inputs.revision }}
PKG_RPM_RELEASE=${{ inputs.revision }}
secrets:
Expand Down