turnip-ppa-update-24.10 #5
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
# This is a basic workflow to help you get started with Actions | |
name: turnip-ppa-update-24.10 | |
# Controls when the workflow will run | |
on: | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
schedule: | |
- cron: '30 2 * * *' | |
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | |
jobs: | |
# This workflow contains a single job called "build" | |
build-24-10: | |
# The type of runner that the job will run on | |
runs-on: ubuntu-latest | |
# Steps represent a sequence of tasks that will be executed as part of the job | |
steps: | |
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | |
- uses: actions/checkout@v4 | |
# Runs a set of commands using the runners shell | |
- name: Run build script inside docker for 24.10 | |
env: | |
EMAIL: ${{ secrets.EMAIL }} | |
PUBKEY: ${{ secrets.PUBKEY }} | |
PRIVKEY: ${{ secrets.PRIVKEY }} | |
run: | | |
cd "$GITHUB_WORKSPACE" | |
sudo apt update | |
sudo apt install -y podman sudo | |
podman build -f Dockerfile -t turnip-build --build-arg EMAIL="$EMAIL" PRIVKEY="$PRIVKEY" PUBKEY="$PUBKEY" | |
podman run turnip-build | |