Skip to content

Commit

Permalink
Make "release container" use the workflow template
Browse files Browse the repository at this point in the history
- the release container will use DEV tags
  • Loading branch information
RazvanLiviuVarzaru committed Aug 30, 2024
1 parent e3d3fa9 commit 018eda5
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 152 deletions.
150 changes: 0 additions & 150 deletions .github/workflows/bbw_build_container_release.yml

This file was deleted.

34 changes: 34 additions & 0 deletions .github/workflows/build-container-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Build container release

on:
push:
paths:
- 'ci_build_images/debian-release.Dockerfile'
- 'ci_build_images/buildbot-worker.Dockerfile'
- .github/workflows/build-container-release.yml
- .github/workflows/bbw_build_container_template.yml
pull_request:
paths:
- 'ci_build_images/debian-release.Dockerfile'
- 'ci_build_images/buildbot-worker.Dockerfile'
- .github/workflows/build-container-release.yml
- .github/workflows/bbw_build_container_template.yml
workflow_dispatch:

jobs:
build-images:
strategy:
fail-fast: false
matrix:
include:
- image: debian:12-slim
platforms: linux/amd64
tag: debian12-release
uses: ./.github/workflows/bbw_build_container_template.yml
with:
dockerfile: debian-release.Dockerfile
image: ${{ matrix.image }}
platforms: ${{ matrix.platforms }}
tag: ${{ matrix.tag }}
noqpress: 'true'
secrets: inherit
4 changes: 2 additions & 2 deletions ci_build_images/debian-release.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
# Provides a base Debian image with latest buildbot worker installed for prep
# release works.

ARG base_image
FROM "$base_image"
ARG BASE_IMAGE
FROM "$BASE_IMAGE"
LABEL maintainer="MariaDB Buildbot maintainers"

# This will make apt-get install without question
Expand Down

0 comments on commit 018eda5

Please sign in to comment.