Skip to content

Commit f6a0b39

Browse files
authored
Merge pull request #7 from martin-g/update-ubuntu-for-cross-build
The Docker image for cross build should depend on the latest su2/build-su2 image
2 parents 13e3755 + 27a8615 commit f6a0b39

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

.github/workflows/docker-image-upload.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,6 @@ jobs:
4242

4343
- name: Build and push test-su2
4444
run: docker buildx build --platform=linux/amd64 --platform=linux/arm64 --build-arg BASE_IMAGE=ghcr.io/${{ github.repository_owner }}/su2/build-su2:${{ steps.vars.outputs.date_tag }} -t ghcr.io/${{ github.repository_owner }}/su2/test-su2:${{ steps.vars.outputs.date_tag }} --push ./test/
45+
46+
- name: Build and push build-su2-cross
47+
run: docker buildx build --platform=linux/amd64 --platform=linux/arm64 --build-arg BASE_IMAGE=ghcr.io/${{ github.repository_owner }}/su2/build-su2:${{ steps.vars.outputs.date_tag }} -t ghcr.io/${{ github.repository_owner }}/su2/build-su2-cross:${{ steps.vars.outputs.date_tag }} --push ./build_cross/

build_cross/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
FROM su2code/build-su2:latest
1+
ARG BASE_IMAGE=ghcr.io/su2code/su2/build-su2:220614-1237
2+
FROM $BASE_IMAGE
3+
24
ENV LANG C.UTF-8
35
RUN apt-get update && apt-get install -y \
46
clang \

test/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG BASE_IMAGE=su2code/build-su2:latest
1+
ARG ghcr.io/su2code/su2/build-su2:220614-1237
22

33
FROM $BASE_IMAGE
44

0 commit comments

Comments
 (0)