Skip to content

Commit

Permalink
Add ipfs variable
Browse files Browse the repository at this point in the history
  • Loading branch information
waybackarchiver committed Jul 30, 2024
1 parent 28d15d0 commit ba37bde
Show file tree
Hide file tree
Showing 6 changed files with 36 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/reusable-builder-aur.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,12 @@ on:
default: 'block'
description: 'Harden-Runner egress traffic policy'
secrets:
wayback-ipfs-target:
description: 'Managed IPFS target for distribution binaries.'
wayback-ipfs-apikey:
description: 'Managed IPFS credential for distribution binaries.'
wayback-ipfs-secret:
description: 'Managed IPFS secret for distribution binaries.'

permissions:
contents: read
Expand Down Expand Up @@ -72,7 +76,9 @@ jobs:

- name: Build AUR package
env:
WAYBACK_IPFS_TARGET: ${{ secrets.wayback-ipfs-target }}
WAYBACK_IPFS_APIKEY: ${{ secrets.wayback-ipfs-apikey }}
WAYBACK_IPFS_SECRET: ${{ secrets.wayback-ipfs-secret }}
run: bash -c '${{ inputs.params }}'

- name: Upload artifacts
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/reusable-builder-deb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,12 @@ on:
default: 'block'
description: 'Harden-Runner egress traffic policy'
secrets:
wayback-ipfs-target:
description: 'Managed IPFS target for distribution binaries.'
wayback-ipfs-apikey:
description: 'Managed IPFS credential for distribution binaries.'
wayback-ipfs-secret:
description: 'Managed IPFS secret for distribution binaries.'

permissions:
contents: read
Expand Down Expand Up @@ -87,7 +91,9 @@ jobs:
- name: Build Debian package
id: builder
env:
WAYBACK_IPFS_TARGET: ${{ secrets.wayback-ipfs-target }}
WAYBACK_IPFS_APIKEY: ${{ secrets.wayback-ipfs-apikey }}
WAYBACK_IPFS_SECRET: ${{ secrets.wayback-ipfs-secret }}
GOARCH: ${{ inputs.go-arch }}
GOARM: ${{ inputs.go-arm }}
run: |
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/reusable-builder-flatpak.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,12 @@ on:
default: 'block'
description: 'Harden-Runner egress traffic policy'
secrets:
wayback-ipfs-target:
description: 'Managed IPFS target for distribution binaries.'
wayback-ipfs-apikey:
description: 'Managed IPFS credential for distribution binaries.'
wayback-ipfs-secret:
description: 'Managed IPFS secret for distribution binaries.'

permissions:
contents: read
Expand Down Expand Up @@ -75,7 +79,9 @@ jobs:
- name: Packaging flatpak
env:
WAYBACK_IPFS_TARGET: ${{ secrets.wayback-ipfs-target }}
WAYBACK_IPFS_APIKEY: ${{ secrets.wayback-ipfs-apikey }}
WAYBACK_IPFS_SECRET: ${{ secrets.wayback-ipfs-secret }}
VERSION: ${{ inputs.version }}
PRODUCT: ${{ inputs.product }}
OWNER: ${{ inputs.owner }}
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/reusable-builder-go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,12 @@ on:
default: 'block'
description: 'Harden-Runner egress traffic policy'
secrets:
wayback-ipfs-target:
description: 'Managed IPFS target for distribution binaries.'
wayback-ipfs-apikey:
description: 'Managed IPFS credential for distribution binaries.'
wayback-ipfs-secret:
description: 'Managed IPFS secret for distribution binaries.'

permissions:
contents: read
Expand Down Expand Up @@ -129,7 +133,9 @@ jobs:
- name: Build binary
id: builder
env:
WAYBACK_IPFS_TARGET: ${{ secrets.wayback-ipfs-target }}
WAYBACK_IPFS_APIKEY: ${{ secrets.wayback-ipfs-apikey }}
WAYBACK_IPFS_SECRET: ${{ secrets.wayback-ipfs-secret }}
GOOS: ${{ inputs.go-os }}
GOARCH: ${{ inputs.go-arch }}
GOARM: ${{ inputs.go-arm }}
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/reusable-builder-rpm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,12 @@ on:
default: 'block'
description: 'Harden-Runner egress traffic policy'
secrets:
wayback-ipfs-target:
description: 'Managed IPFS target for distribution binaries.'
wayback-ipfs-apikey:
description: 'Managed IPFS credential for distribution binaries.'
wayback-ipfs-secret:
description: 'Managed IPFS secret for distribution binaries.'
wayback-signing-key:
description: 'RPM signing private key.'
wayback-signing-passpharse:
Expand Down Expand Up @@ -63,7 +67,9 @@ jobs:

- name: Build RPM package
env:
WAYBACK_IPFS_TARGET: ${{ secrets.wayback-ipfs-target }}
WAYBACK_IPFS_APIKEY: ${{ secrets.wayback-ipfs-apikey }}
WAYBACK_IPFS_SECRET: ${{ secrets.wayback-ipfs-secret }}
WAYBACK_SIGNING_KEY: ${{ secrets.wayback-signing-key }}
WAYBACK_SIGNING_PASSPHARSE: ${{ secrets.wayback-signing-passpharse }}
run: bash -c '${{ inputs.params }}'
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/reusable-builder-snap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,12 @@ on:
secrets:
snapcraft-token:
description: 'The login data for the Snap Store produced with "snapcraft export-login", see: https://gist.github.com/waybackarchiver/076163653504f5fcef9bc4cc55422f5e'
wayback-ipfs-target:
description: 'Managed IPFS target for distribution binaries.'
wayback-ipfs-apikey:
description: 'Managed IPFS credential for distribution binaries.'
wayback-ipfs-secret:
description: 'Managed IPFS secret for distribution binaries.'

permissions:
contents: read
Expand Down Expand Up @@ -103,7 +107,9 @@ jobs:
with:
snapcraft-channel: ${{ inputs.channel }}
env:
WAYBACK_IPFS_TARGET: ${{ secrets.wayback-ipfs-target }}
WAYBACK_IPFS_APIKEY: ${{ secrets.wayback-ipfs-apikey }}
WAYBACK_IPFS_SECRET: ${{ secrets.wayback-ipfs-secret }}

- name: Publish Snap
uses: snapcore/action-publish@0a8d537ae06f4a292e8b4ef1084cd5631b3c6871 # v1.1.1
Expand Down

0 comments on commit ba37bde

Please sign in to comment.