Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build and push images with linux/arm64/v8 support #52

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
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
27 changes: 17 additions & 10 deletions .github/workflows/gh-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,18 @@ jobs:
uses: actions/checkout@v3

- name: Set up QEMU
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Set up Docker
uses: docker/setup-docker-action@v4
with:
driver: docker
daemon-config: |
{
"debug": true,
"features": {
"containerd-snapshotter": true
}
}

- name: Login to DockerHub
uses: docker/login-action@v1
Expand Down Expand Up @@ -118,7 +124,7 @@ jobs:

- name: Build base v0
if: ${{ matrix.image_dir == 'coffea-base' }}
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
load: true
tags: ${{ steps.tags.outputs.tags }}
Expand All @@ -130,7 +136,7 @@ jobs:

- name: Build base v1
if: ${{ matrix.image_dir != 'coffea-base' }}
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
load: true
tags: ${{ steps.tags.outputs.tags }}
Expand Down Expand Up @@ -178,9 +184,9 @@ jobs:

- name: Build and push v0
if: ${{ matrix.image_dir != 'coffea-base' }}
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
platforms: linux/amd64
platforms: linux/amd64,linux/arm64/v8
push: ${{ github.event_name == 'push' }}
tags: ${{ steps.tags.outputs.tags }}
context: ${{ matrix.image_dir }}
Expand All @@ -191,9 +197,9 @@ jobs:

- name: Build and push v1
if: ${{ matrix.image_dir == 'coffea-base' }}
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
platforms: linux/amd64
platforms: linux/amd64,linux/arm64/v8
push: ${{ github.event_name == 'push' }}
tags: ${{ steps.tags.outputs.tags }}
context: ${{ matrix.image_dir }}
Expand All @@ -202,3 +208,4 @@ jobs:
python=${{ matrix.python }}
releasev0=${{ env.releasev0 }}


2 changes: 1 addition & 1 deletion coffea-dask/environment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ dependencies:
- xrootd
# we have issues with conflicting openssl version and htcondor 10.8.0 version is last one
# which we able to resolve in this environment.yaml
- htcondor
- htcondor=10.9.0 # pin HTCondor for LPC
- curl
# jupyter-related
- jupyterlab
Expand Down
Loading