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

Added Github action to build image for tagged releases #332

Merged
merged 3 commits into from
Jun 28, 2020

Conversation

bitbyt3r
Copy link
Contributor

This adds the necessary config to build a raspberry pi image and create a github release for any push tagged with a version number.

Attempting build

Attempting build

Attempting build

Changed to forked repos

Making wget  quiet

Attempting to upload resulting artifact

Searching for build artifact

Fixed path to artifact

Fixing paths

Fixed path

Create releases

Create releases

Fixed syntax

Fixed syntax

Only run ci on tags

Making action generic

Copy instead of move
@guysoft
Copy link
Owner

guysoft commented Jun 13, 2020

  1. If I pull this, does this means FullPageOS gets builds on github? Should I do anything else?
  2. I want to pull this so people can use it, but I am naturally not moving the builds to github actions. Assume you know this, just clarifying,

@bitbyt3r
Copy link
Contributor Author

If you merge this them github will build an image and attach it to the release every time you tag a commit with a version string. It should also be useful as a template for others to do the same (afaik without needing to change anything). If you don't want it to be active then I could drop the push trigger from it, though then people who want to use it will have to add it back.

@guysoft
Copy link
Owner

guysoft commented Jun 13, 2020

Also - this won't work on this repo because versions don't start with v
And you need to update the url https://downloads.raspberrypi.org/raspbian_lite_latest

Is it ok to ask of you to comment out?:

on:
  pull_request: {}
  push:
    tags:
      - v*

From there I can try play around with it on another repo

@guysoft
Copy link
Owner

guysoft commented Jun 28, 2020

Ok, lets try it

@guysoft guysoft merged commit 52abada into guysoft:devel Jun 28, 2020
@bitbyt3r
Copy link
Contributor Author

Weird, looks like we got unlucky with a mirror? https://github.com/guysoft/FullPageOS/runs/815514416?check_suite_focus=true

We'll see what the next one does in a couple minutes.

@guysoft
Copy link
Owner

guysoft commented Jun 28, 2020

Still fails, in the end we will build our own mirror.

@bitbyt3r
Copy link
Contributor Author

That's very strange. You can try re-running the job without a new commit on the build page: https://github.com/guysoft/FullPageOS/runs/815540216?check_suite_focus=true

I'm not sure what to do about a bad mirror.

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.

2 participants