shrutir11 / KEYS

github.io website rendered using MkDocs GitHub Actions
https://shrutir11.github.io/KEYS/
GNU General Public License v3.0
0 stars 1 forks source link

Learn GitHub Actions #6

Open tyson-swetnam opened 3 years ago

tyson-swetnam commented 3 years ago

GitHub actions are another feature of GitHub where you can automate the creation and execution of container environments.

https://docs.github.com/en/actions

The Actions is how your website is rendering.

I want you to learn how to create a container (Docker) with a Dockerfile hosted on GitHub, and have Actions push the container to the DockerHub.

You will need to create a DockerHub account - use the same username as you have here on GitHub.

https://docs.github.com/en/actions/guides/publishing-docker-images

tyson-swetnam commented 3 years ago

One of the steps I hope you can accomplish during KEYS is to integrate the Action into my Java 8 software project: https://github.com/cyverse-gis/suas-metadata

We build with Java 8 and Maven to create a .jar file -- what I'd like for you to deliver to me by the end of KEYS is a working example of a Git Action which creates a new .jar file and tests it.

tyson-swetnam commented 3 years ago

The other goal for using GitHub actions is to build CyVerse VICE containers, https://github.com/cyverse-vice/

You can see that there are Jupyter, RStudio, and Remote Desktop Xpra containers hosted there.

Once you have a working example of an Action which can:

tyson-swetnam commented 3 years ago

this is an example of what we're working toward: https://github.com/cyverse-vice/rstudio-verse

tyson-swetnam commented 3 years ago

For the next couple of days, keep working on getting the GitHub Actions set up for the rstudio/verse container.

You may need to do some additional sleuth work, looking around with Google and GitHub search for other examples that use the same practices we're looking to enable here.

tyson-swetnam commented 3 years ago

Explore adding scheduled events to your Actions: https://docs.github.com/en/actions/reference/events-that-trigger-workflows#scheduled-events

shrutir11 commented 2 years ago

I was able to use GitHub Actions to push the rstudio-verse container to GitHub. However, due to time constraints, I was unable to test the container. If time permits later today I can try to see if I can launch the container from GitPod.