Update the base image to Ubuntu 20.04 so that it could be used for both amd64 and arm64 images#1
Update the base image to Ubuntu 20.04 so that it could be used for both amd64 and arm64 images#1pcarruscag merged 1 commit intosu2code:masterfrom martin-g:update-to-focal-arm64
Conversation
|
With these changes I was able to build a multi-platform image - https://github.com/users/martin-g/packages/container/package/su2code%2Fbuild-su2 What do you think about adding .github/workflows/docker-image-upload.yml that uses https://github.com/marketplace/actions/build-and-push-docker-images to build an image and push it to https://github.com/orgs/su2code/packages ? Docker Hub is also an option but then someone will have to setup secrets for |
|
It sounds like it would make our life easier whenever we want to update docker images, so I'm in favor. |
|
Working on it! |
|
The new workflow is added! |
|
Hmmm I don't think I'm admin for this repo, where would I find the new workflow for approval? |
|
I am not quite sure! What do you see at https://github.com/su2code/Docker-Builds/actions ? |
|
Using enabled it for my fork - https://github.com/martin-g/SU2-Docker-Builds/runs/6210959935?check_suite_focus=true! |
|
Question: do you want the tag to be a date as before or |
|
OK! I will change it to The workflow will appear once it is merged to |
|
Cool thanks, let me know when you're ready and I'll merge the PR, we'll see if the workflow appears. |
…th amd64 and arm64 images Set localtime to UTC so that the installation of tzdata do not ask for selection. Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
|
@pcarruscag This PR is ready for review! |
|
It took me a while to figure out an issue with the permission to write the Docker package from the workflow. |
|
Alright, let's see if it works |
|
It's there https://github.com/su2code/Docker-Builds/actions/workflows/docker-image-upload.yml |
|
The workflow failed - https://github.com/su2code/Docker-Builds/actions/runs/2271410730 |

Set localtime to UTC so that the installation of tzdata do not ask for
selection.