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

Add Github runner Dockerfiles and workflow #605

Merged
merged 4 commits into from
Sep 6, 2021
Merged

Add Github runner Dockerfiles and workflow #605

merged 4 commits into from
Sep 6, 2021

Conversation

dragonchaser
Copy link
Contributor

@dragonchaser dragonchaser commented Sep 6, 2021

This PR adds Dockerfiles and a workflow to build github runner images for aarch64 and amd64.

closes #527

Christian Richter added 2 commits September 6, 2021 11:27
Signed-off-by: Christian Richter <crichter@suse.com>
Signed-off-by: Christian Richter <crichter@suse.com>
@dragonchaser dragonchaser mentioned this pull request Sep 6, 2021
3 tasks
Signed-off-by: Christian Richter <crichter@suse.com>
version: latest

- name: Prepare
if: success()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

afaik you dont need the sucess() part, it already sets this by default?

if: success()
run: |
cd .github/docker/ghrunner
docker buildx build --platform ${{ steps.prepare.outputs.docker_platform }} --tag ${{ steps.prepare.outputs.docker_image }}:${{steps.prepare.outputs.version }} --file ./Dockerfile --output type=image,push=true .
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why not use the ENV vars directly?

Signed-off-by: Christian Richter <crichter@suse.com>
@mudler
Copy link
Contributor

mudler commented Sep 6, 2021

We can merge it already, ci tests are not impacted by those changes

@mudler mudler merged commit 9f1217c into master Sep 6, 2021
@mudler mudler deleted the ghrunner branch September 6, 2021 11:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Runners for aarch64/armv7
3 participants