NetworkOps #102
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: NetworkOps | |
on: | |
# push: | |
# branches: | |
# - main | |
schedule: | |
- cron: "0 0 * * *" | |
jobs: | |
librespeed: | |
# https://github.com/librespeed/speedtest | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Build project | |
run: | | |
docker pull ghcr.io/librespeed/speedtest:latest | |
docker save -o librespeed_latest.tar.gz ghcr.io/librespeed/speedtest:latest | |
- name: Upload Image Artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: librespeed_latest | |
path: librespeed_latest.tar.gz | |
librespeed-linuxserver: | |
# https://github.com/linuxserver/docker-librespeed | |
# https://github.com/librespeed/speedtest | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Build project | |
run: | | |
docker pull linuxserver/librespeed:latest | |
docker save -o linuxserver_librespeed_latest.tar.gz linuxserver/librespeed:latest | |
- name: Upload Image Artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: linuxserver_librespeed_latest | |
path: linuxserver_librespeed_latest.tar.gz | |
NetBox: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Pull and Save Grafana Image as File | |
run: | | |
docker pull netboxcommunity/netbox:latest | |
docker save -o netbox-latest.tar.gz netboxcommunity/netbox:latest | |
- name: Upload Grafana Image Artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: netbox-latest | |
path: netbox-latest.tar.gz |