chore(deps): bump certifi from 2023.5.7 to 2023.7.22 in /helm-chart/images/binderhub #160
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This is a GitHub workflow defining a set of jobs with a set of steps. | |
# ref: https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions | |
# | |
name: Test docker multiarch build | |
# Trigger the workflow's on all PRs and pushes so that other contributors can | |
# run tests in their own forks. Avoid triggering this tests on changes not | |
# influencing the image notably. | |
on: | |
pull_request: | |
paths: | |
- "helm-chart/images/**" | |
- "helm-chart/chartpress.yaml" | |
- ".github/workflows/test-docker-build.yaml" | |
push: | |
paths: | |
- "helm-chart/images/**" | |
- "helm-chart/chartpress.yaml" | |
- ".github/workflows/test-docker-build.yaml" | |
branches-ignore: | |
- "dependabot/**" | |
- "pre-commit-ci-update-config" | |
- "update-*" | |
workflow_dispatch: | |
jobs: | |
# This is a quick test to check the arm64 docker images based on: | |
# - https://github.com/docker/build-push-action/blob/v2.3.0/docs/advanced/local-registry.md | |
# - https://github.com/docker/build-push-action/blob/v2.3.0/docs/advanced/multi-platform.md | |
build_images: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
# chartpress requires git history to set chart version and image tags | |
# correctly | |
fetch-depth: 0 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: "3.11" | |
- uses: actions/setup-node@v3 | |
# node required to build wheel | |
with: | |
node-version: "16" | |
- name: Install chartpress | |
run: pip install chartpress build | |
- name: Build binderhub wheel | |
run: python3 -m build --wheel . | |
- name: Set up QEMU (for docker buildx) | |
uses: docker/setup-qemu-action@v2 | |
- name: Set up Docker Buildx (for chartpress multi-arch builds) | |
uses: docker/setup-buildx-action@v2 | |
- name: Build a multiple architecture Docker image | |
run: | | |
cd helm-chart | |
chartpress \ | |
--builder docker-buildx \ | |
--platform linux/amd64 --platform linux/arm64 |