mirror of
https://github.com/falcosecurity/falco.git
synced 2025-06-28 07:37:32 +00:00
fix(ci): docker arg is named TARGETARCH
.
Signed-off-by: Federico Di Pierro <nierro92@gmail.com>
This commit is contained in:
parent
a28347d150
commit
e16cf2661e
8
.github/workflows/reusable_build_docker.yaml
vendored
8
.github/workflows/reusable_build_docker.yaml
vendored
@ -29,7 +29,7 @@ jobs:
|
|||||||
# See https://github.com/actions/runner/issues/409#issuecomment-1158849936
|
# See https://github.com/actions/runner/issues/409#issuecomment-1158849936
|
||||||
runs-on: ${{ (inputs.arch == 'aarch64' && fromJSON('[ "self-hosted", "linux", "ARM64" ]')) || 'ubuntu-latest' }}
|
runs-on: ${{ (inputs.arch == 'aarch64' && fromJSON('[ "self-hosted", "linux", "ARM64" ]')) || 'ubuntu-latest' }}
|
||||||
env:
|
env:
|
||||||
TARGET_ARCH: ${{ (inputs.arch == 'aarch64' && 'arm64') || 'amd64' }}
|
TARGETARCH: ${{ (inputs.arch == 'aarch64' && 'arm64') || 'amd64' }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
@ -43,7 +43,7 @@ jobs:
|
|||||||
docker build -t docker.io/falcosecurity/falco-no-driver:${{ inputs.arch }}-${{ inputs.tag }} \
|
docker build -t docker.io/falcosecurity/falco-no-driver:${{ inputs.arch }}-${{ inputs.tag }} \
|
||||||
--build-arg VERSION_BUCKET=bin${{ inputs.bucket_suffix }} \
|
--build-arg VERSION_BUCKET=bin${{ inputs.bucket_suffix }} \
|
||||||
--build-arg FALCO_VERSION=${{ inputs.version }} \
|
--build-arg FALCO_VERSION=${{ inputs.version }} \
|
||||||
--build-arg TARGET_ARCH=${TARGET_ARCH} \
|
--build-arg TARGETARCH=${TARGETARCH} \
|
||||||
--output type=docker,dest=/tmp/falco-no-driver-${{ inputs.arch }}.tar \
|
--output type=docker,dest=/tmp/falco-no-driver-${{ inputs.arch }}.tar \
|
||||||
.
|
.
|
||||||
|
|
||||||
@ -53,7 +53,7 @@ jobs:
|
|||||||
docker build -t docker.io/falcosecurity/falco:${{ inputs.arch }}-${{ inputs.tag }} \
|
docker build -t docker.io/falcosecurity/falco:${{ inputs.arch }}-${{ inputs.tag }} \
|
||||||
--build-arg VERSION_BUCKET=deb${{ inputs.bucket_suffix }} \
|
--build-arg VERSION_BUCKET=deb${{ inputs.bucket_suffix }} \
|
||||||
--build-arg FALCO_VERSION=${{ inputs.version }} \
|
--build-arg FALCO_VERSION=${{ inputs.version }} \
|
||||||
--build-arg TARGET_ARCH=${TARGET_ARCH} \
|
--build-arg TARGETARCH=${TARGETARCH} \
|
||||||
--output type=docker,dest=/tmp/falco-${{ inputs.arch }}.tar \
|
--output type=docker,dest=/tmp/falco-${{ inputs.arch }}.tar \
|
||||||
.
|
.
|
||||||
|
|
||||||
@ -67,7 +67,7 @@ jobs:
|
|||||||
cd ${{ github.workspace }}/docker/driver-loader/
|
cd ${{ github.workspace }}/docker/driver-loader/
|
||||||
docker build -t docker.io/falcosecurity/falco-driver-loader:${{ inputs.arch }}-${{ inputs.tag }} \
|
docker build -t docker.io/falcosecurity/falco-driver-loader:${{ inputs.arch }}-${{ inputs.tag }} \
|
||||||
--build-arg FALCO_IMAGE_TAG=${{ inputs.arch }}-${{ inputs.tag }} \
|
--build-arg FALCO_IMAGE_TAG=${{ inputs.arch }}-${{ inputs.tag }} \
|
||||||
--build-arg TARGET_ARCH=${TARGET_ARCH} \
|
--build-arg TARGETARCH=${TARGETARCH} \
|
||||||
--output type=docker,dest=/tmp/falco-driver-loader-${{ inputs.arch }}.tar \
|
--output type=docker,dest=/tmp/falco-driver-loader-${{ inputs.arch }}.tar \
|
||||||
.
|
.
|
||||||
|
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit 6da15ae98cd01e1c28a90fec39febbddb76c18cd
|
Subproject commit 3f52480618491a9232a1ec6a1f692fc04899c989
|
Loading…
Reference in New Issue
Block a user