Skip to content

Commit

Permalink
change thirdparties-src
Browse files Browse the repository at this point in the history
  • Loading branch information
empiredan committed Oct 17, 2024
1 parent 288b372 commit 19a9b35
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 4 deletions.
11 changes: 10 additions & 1 deletion .github/workflows/thirdparty-regular-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,14 @@ on:
jobs:
build_push_src_docker_images:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
osversion:
- ubuntu1804
- ubuntu2004
- ubuntu2204
- centos7
steps:
- uses: actions/checkout@v4
- name: Set up QEMU
Expand All @@ -60,9 +68,10 @@ jobs:
file: ./docker/thirdparties-src/Dockerfile
push: true
tags: |
apache/pegasus:thirdparties-src-${{ github.ref_name }}
apache/pegasus:thirdparties-src-${{ matrix.osversion }}-${{ github.ref_name }}
build-args: |
GITHUB_BRANCH=${{ github.ref_name }}
OS_VERSION=${{ matrix.osversion }}
- name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}

Expand Down
5 changes: 4 additions & 1 deletion docker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,10 @@ It packages the downloaded sources into a zip in the container, so that
other repos can easily extract third-parties from the container (via `docker cp`),
without downloading from the cloud object storage.

- `apache/pegasus:thirdparties-src-<branch>`
- `apache/pegasus:thirdparties-src-centos7-<branch>`
- `apache/pegasus:thirdparties-src-ubuntu1804-<branch>`
- `apache/pegasus:thirdparties-src-ubuntu2004-<branch>`
- `apache/pegasus:thirdparties-src-ubuntu2204-<branch>`

## thirdparties-bin

Expand Down
2 changes: 1 addition & 1 deletion docker/thirdparties-bin/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

ARG GITHUB_BRANCH=master
ARG OS_VERSION=centos7
FROM apache/pegasus:thirdparties-src-${GITHUB_BRANCH} as builder
FROM apache/pegasus:thirdparties-src-${OS_VERSION}-${GITHUB_BRANCH} as builder
FROM apache/pegasus:build-env-${OS_VERSION}-${GITHUB_BRANCH}

WORKDIR /root
Expand Down
3 changes: 2 additions & 1 deletion docker/thirdparties-src/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
# under the License.

ARG GITHUB_BRANCH=master
FROM apache/pegasus:build-env-centos7-${GITHUB_BRANCH} as builder
ARG OS_VERSION=centos7
FROM apache/pegasus:build-env-${OS_VERSION}-${GITHUB_BRANCH} as builder

WORKDIR /root

Expand Down

0 comments on commit 19a9b35

Please sign in to comment.