-
Notifications
You must be signed in to change notification settings - Fork 54
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
Conversation
Signed-off-by: Christian Richter <crichter@suse.com>
Signed-off-by: Christian Richter <crichter@suse.com>
Signed-off-by: Christian Richter <crichter@suse.com>
version: latest | ||
|
||
- name: Prepare | ||
if: success() |
There was a problem hiding this comment.
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 . |
There was a problem hiding this comment.
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>
We can merge it already, ci tests are not impacted by those changes |
This PR adds Dockerfiles and a workflow to build github runner images for aarch64 and amd64.
closes #527