mirror of
https://github.com/opf/openproject.git
synced 2026-06-13 19:20:00 +00:00
Remove other remnant of the debian base arg
This commit is contained in:
@@ -217,7 +217,7 @@ jobs:
|
||||
with:
|
||||
path: |
|
||||
vendor/bundle
|
||||
key: ${{ matrix.platform }}-${{ matrix.debian_base }}-vendor-bundle-${{ github.ref }}
|
||||
key: ${{ matrix.platform }}-trixie-vendor-bundle-${{ github.ref }}
|
||||
- name: Include vendor/bundle in this build (so we can use it from the cache above)
|
||||
run: |
|
||||
sed -i 's/vendor\/bundle//g' .dockerignore
|
||||
@@ -229,15 +229,14 @@ jobs:
|
||||
platforms: ${{ matrix.platform }}
|
||||
target: ${{ matrix.target }}
|
||||
build-args: |
|
||||
DEBIAN_BASE=${{ matrix.debian_base }}
|
||||
BIM_SUPPORT=${{ matrix.bim_support }}
|
||||
BUILDKIT_PROGRESS=plain
|
||||
pull: true
|
||||
load: true
|
||||
tags: ${{ steps.meta.outputs.tags }}
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
cache-from: type=s3,blobs_prefix=cache/${{ github.repository }}/${{ matrix.debian_base }},manifests_prefix=cache/${{ github.repository }}/${{ matrix.debian_base }},region=${{ env.RUNS_ON_AWS_REGION }},bucket=${{ env.RUNS_ON_S3_BUCKET_CACHE }}
|
||||
cache-to: type=s3,blobs_prefix=cache/${{ github.repository }}/${{ matrix.debian_base }},manifests_prefix=cache/${{ github.repository }}/${{ matrix.debian_base }},region=${{ env.RUNS_ON_AWS_REGION }},bucket=${{ env.RUNS_ON_S3_BUCKET_CACHE }},mode=max
|
||||
cache-from: type=s3,blobs_prefix=cache/${{ github.repository }}/trixie,manifests_prefix=cache/${{ github.repository }}/trixie,region=${{ env.RUNS_ON_AWS_REGION }},bucket=${{ env.RUNS_ON_S3_BUCKET_CACHE }}
|
||||
cache-to: type=s3,blobs_prefix=cache/${{ github.repository }}/trixie,manifests_prefix=cache/${{ github.repository }}/trixie,region=${{ env.RUNS_ON_AWS_REGION }},bucket=${{ env.RUNS_ON_S3_BUCKET_CACHE }},mode=max
|
||||
- name: Extract vendor/bundle from container
|
||||
run: |
|
||||
docker create --name bundle ${{ steps.build.outputs.imageid }}
|
||||
@@ -274,12 +273,11 @@ jobs:
|
||||
platforms: ${{ matrix.platform }}
|
||||
target: ${{ matrix.target }}
|
||||
build-args: |
|
||||
DEBIAN_BASE=${{ matrix.debian_base }}
|
||||
BIM_SUPPORT=${{ matrix.bim_support }}
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
outputs: type=image,name=${{ needs.setup.outputs.registry_image }},push-by-digest=true,name-canonical=true,push=true
|
||||
cache-from: type=s3,blobs_prefix=cache/${{ github.repository }}/${{ matrix.debian_base }},manifests_prefix=cache/${{ github.repository }}/${{ matrix.debian_base }},region=${{ env.RUNS_ON_AWS_REGION }},bucket=${{ env.RUNS_ON_S3_BUCKET_CACHE }}
|
||||
cache-to: type=s3,blobs_prefix=cache/${{ github.repository }}/${{ matrix.debian_base }},manifests_prefix=cache/${{ github.repository }}/${{ matrix.debian_base }},region=${{ env.RUNS_ON_AWS_REGION }},bucket=${{ env.RUNS_ON_S3_BUCKET_CACHE }},mode=max
|
||||
cache-from: type=s3,blobs_prefix=cache/${{ github.repository }}/trixie,manifests_prefix=cache/${{ github.repository }}/trixie,region=${{ env.RUNS_ON_AWS_REGION }},bucket=${{ env.RUNS_ON_S3_BUCKET_CACHE }}
|
||||
cache-to: type=s3,blobs_prefix=cache/${{ github.repository }}/trixie,manifests_prefix=cache/${{ github.repository }}/trixie,region=${{ env.RUNS_ON_AWS_REGION }},bucket=${{ env.RUNS_ON_S3_BUCKET_CACHE }},mode=max
|
||||
- name: Export digest
|
||||
run: |
|
||||
mkdir -p /tmp/digests
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
docker build -t openproject/openproject:$(git rev-parse --abbrev-ref HEAD | tr '/' '-') --build-arg DEBIAN_BASE=bookworm -f docker/prod/Dockerfile .
|
||||
|
||||
docker build -t openproject/openproject:$(git rev-parse --abbrev-ref HEAD | tr '/' '-') -f docker/prod/Dockerfile .
|
||||
|
||||
@@ -1,9 +1,8 @@
|
||||
ARG RUBY_VERSION="3.4.7"
|
||||
ARG DEBIAN_BASE="trixie"
|
||||
# Add SBOM scan context for intermediate steps
|
||||
ARG BUILDKIT_SBOM_SCAN_CONTEXT=true
|
||||
ARG BUILDKIT_SBOM_SCAN_STAGE=true
|
||||
FROM ruby:${RUBY_VERSION}-slim-${DEBIAN_BASE} AS runtime-base
|
||||
FROM ruby:${RUBY_VERSION}-slim-trixie AS runtime-base
|
||||
LABEL maintainer="operations@openproject.com"
|
||||
|
||||
ARG NODE_VERSION="22.21.0"
|
||||
|
||||
@@ -13,8 +13,6 @@ volumes:
|
||||
x-defaults: &defaults
|
||||
build:
|
||||
context: .
|
||||
args:
|
||||
DEBIAN_BASE: bookworm
|
||||
restart: unless-stopped
|
||||
env_file:
|
||||
- .env.pullpreview
|
||||
|
||||
Reference in New Issue
Block a user