mirror of
https://github.com/ublue-os/packages.git
synced 2026-11-03 21:49:48 -09:00
fix: Delete .github/workflows/wolfi.yml
we don't use this
This commit is contained in:
parent
0c225453f8
commit
2ca7504e7e
1 changed files with 0 additions and 60 deletions
60
.github/workflows/wolfi.yml
vendored
60
.github/workflows/wolfi.yml
vendored
|
|
@ -1,60 +0,0 @@
|
|||
name: Build and Upload Wolfi Packages
|
||||
on:
|
||||
schedule:
|
||||
- cron: '50 5,17 * * *' # 5:50 AM and 5:50 PM UTC every day
|
||||
pull_request:
|
||||
paths:
|
||||
- 'wolfi/*'
|
||||
merge_group:
|
||||
workflow_dispatch:
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref || github.run_id }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
upload-wolfi-packages:
|
||||
name: Build and upload Wolfi packages
|
||||
runs-on: ubuntu-24.04
|
||||
permissions:
|
||||
contents: read
|
||||
packages: write
|
||||
id-token: write
|
||||
strategy:
|
||||
fail-fast: false
|
||||
steps:
|
||||
# Checkout push-to-registry action GitHub repository
|
||||
- name: Checkout Push to Registry action
|
||||
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
|
||||
|
||||
- name: Generate package list
|
||||
run: |
|
||||
cd wolfi
|
||||
# Copy package resources to workdir
|
||||
RESOURCES=$(ls -d */)
|
||||
for resource in $RESOURCES; do
|
||||
cp -r $resource/* .
|
||||
done
|
||||
# Create package list
|
||||
APK_LIST=$(find *.yaml -type 'f' | tr '\n' ',')
|
||||
echo "APK_LIST=$APK_LIST" >> $GITHUB_ENV
|
||||
|
||||
# Build APKs with melange
|
||||
- name: Build APKs
|
||||
id: melange
|
||||
uses: chainguard-dev/actions/melange-build@main
|
||||
with:
|
||||
archs: aarch64,x86_64
|
||||
empty-workspace: false
|
||||
multi-config: ${{ env.APK_LIST }}
|
||||
sign-with-temporary-key: true
|
||||
workdir: ./wolfi
|
||||
|
||||
# Upload packages
|
||||
- name: 'Upload built packages archive to Github Artifacts'
|
||||
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
|
||||
with:
|
||||
name: wolfi-packages
|
||||
path: ./packages
|
||||
retention-days: 1 # Low ttl since this is just an intermediary used once
|
||||
if-no-files-found: error
|
||||
Loading…
Reference in a new issue