mirror of
https://github.com/falcosecurity/falco.git
synced 2025-06-27 15:17:50 +00:00
fix(ci): use /tmp/falco-build-* as a temp directory
Signed-off-by: Luca Guerra <luca@guerra.sh>
This commit is contained in:
parent
5084480d4d
commit
582bb327eb
28
.github/workflows/reusable_publish_packages.yaml
vendored
28
.github/workflows/reusable_publish_packages.yaml
vendored
@ -47,31 +47,31 @@ jobs:
|
|||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: falco-${{ inputs.version }}-x86_64.rpm
|
name: falco-${{ inputs.version }}-x86_64.rpm
|
||||||
path: /tmp/falco-rpm
|
path: /tmp/falco-build-rpm
|
||||||
|
|
||||||
- name: Download RPM aarch64
|
- name: Download RPM aarch64
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: falco-${{ inputs.version }}-aarch64.rpm
|
name: falco-${{ inputs.version }}-aarch64.rpm
|
||||||
path: /tmp/falco-rpm
|
path: /tmp/falco-build-rpm
|
||||||
|
|
||||||
- name: Download binary x86_64
|
- name: Download binary x86_64
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: falco-${{ inputs.version }}-x86_64.tar.gz
|
name: falco-${{ inputs.version }}-x86_64.tar.gz
|
||||||
path: /tmp/falco-bin
|
path: /tmp/falco-build-bin
|
||||||
|
|
||||||
- name: Download binary aarch64
|
- name: Download binary aarch64
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: falco-${{ inputs.version }}-aarch64.tar.gz
|
name: falco-${{ inputs.version }}-aarch64.tar.gz
|
||||||
path: /tmp/falco-bin
|
path: /tmp/falco-build-bin
|
||||||
|
|
||||||
- name: Download static binary x86_64
|
- name: Download static binary x86_64
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: falco-${{ inputs.version }}-static-x86_64.tar.gz
|
name: falco-${{ inputs.version }}-static-x86_64.tar.gz
|
||||||
path: /tmp/falco-bin-static
|
path: /tmp/falco-build-bin-static
|
||||||
|
|
||||||
- name: Import gpg key
|
- name: Import gpg key
|
||||||
env:
|
env:
|
||||||
@ -91,21 +91,21 @@ jobs:
|
|||||||
expect eof
|
expect eof
|
||||||
EOF
|
EOF
|
||||||
chmod +x ~/sign
|
chmod +x ~/sign
|
||||||
~/sign /tmp/falco-rpm/falco-*.rpm
|
~/sign /tmp/falco-build-rpm/falco-*.rpm
|
||||||
rpm --qf %{SIGPGP:pgpsig} -qp /tmp/falco-rpm/falco-*.rpm | grep SHA256
|
rpm --qf %{SIGPGP:pgpsig} -qp /tmp/falco-build-rpm/falco-*.rpm | grep SHA256
|
||||||
|
|
||||||
- name: Publish rpm
|
- name: Publish rpm
|
||||||
run: |
|
run: |
|
||||||
./scripts/publish-rpm -f /tmp/falco-rpm/falco-${{ inputs.version }}-x86_64.rpm -f /tmp/falco-rpm/falco-${{ inputs.version }}-aarch64.rpm -r rpm${{ inputs.bucket_suffix }}
|
./scripts/publish-rpm -f /tmp/falco-build-rpm/falco-${{ inputs.version }}-x86_64.rpm -f /tmp/falco-build-rpm/falco-${{ inputs.version }}-aarch64.rpm -r rpm${{ inputs.bucket_suffix }}
|
||||||
|
|
||||||
- name: Publish bin
|
- name: Publish bin
|
||||||
run: |
|
run: |
|
||||||
./scripts/publish-bin -f /tmp/falco-bin/falco-${{ inputs.version }}-x86_64.tar.gz -r bin${{ inputs.bucket_suffix }} -a x86_64
|
./scripts/publish-bin -f /tmp/falco-build-bin/falco-${{ inputs.version }}-x86_64.tar.gz -r bin${{ inputs.bucket_suffix }} -a x86_64
|
||||||
./scripts/publish-bin -f /tmp/falco-bin/falco-${{ inputs.version }}-aarch64.tar.gz -r bin${{ inputs.bucket_suffix }} -a aarch64
|
./scripts/publish-bin -f /tmp/falco-build-bin/falco-${{ inputs.version }}-aarch64.tar.gz -r bin${{ inputs.bucket_suffix }} -a aarch64
|
||||||
|
|
||||||
- name: Publish static
|
- name: Publish static
|
||||||
run: |
|
run: |
|
||||||
./scripts/publish-bin -f /tmp/falco-bin-static/falco-${{ inputs.version }}-static-x86_64.tar.gz -r bin${{ inputs.bucket_suffix }} -a x86_64
|
./scripts/publish-bin -f /tmp/falco-build-bin-static/falco-${{ inputs.version }}-static-x86_64.tar.gz -r bin${{ inputs.bucket_suffix }} -a x86_64
|
||||||
|
|
||||||
publish-packages-deb:
|
publish-packages-deb:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@ -132,13 +132,13 @@ jobs:
|
|||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: falco-${{ inputs.version }}-x86_64.deb
|
name: falco-${{ inputs.version }}-x86_64.deb
|
||||||
path: /tmp/falco-deb
|
path: /tmp/falco-build-deb
|
||||||
|
|
||||||
- name: Download deb aarch64
|
- name: Download deb aarch64
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: falco-${{ inputs.version }}-aarch64.deb
|
name: falco-${{ inputs.version }}-aarch64.deb
|
||||||
path: /tmp/falco-deb
|
path: /tmp/falco-build-deb
|
||||||
|
|
||||||
- name: Import gpg key
|
- name: Import gpg key
|
||||||
env:
|
env:
|
||||||
@ -147,4 +147,4 @@ jobs:
|
|||||||
|
|
||||||
- name: Publish deb
|
- name: Publish deb
|
||||||
run: |
|
run: |
|
||||||
./scripts/publish-deb -f /tmp/falco-deb/falco-${{ inputs.version }}-x86_64.deb -f /tmp/falco-deb/falco-${{ inputs.version }}-aarch64.deb -r deb${{ inputs.bucket_suffix }}
|
./scripts/publish-deb -f /tmp/falco-build-deb/falco-${{ inputs.version }}-x86_64.deb -f /tmp/falco-build-deb/falco-${{ inputs.version }}-aarch64.deb -r deb${{ inputs.bucket_suffix }}
|
||||||
|
Loading…
Reference in New Issue
Block a user