build(deps): bump go.opentelemetry.io/otel/sdk from 1.31.0 to 1.32.0 #523
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
name: push-ci-images | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- master | |
jobs: | |
build-push-image: | |
permissions: | |
contents: read | |
id-token: write | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0 | |
with: | |
go-version: '1.22' | |
check-latest: true | |
cache: true | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf # v3.2.0 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@c47758b77c9736f4b2ef4073d4d51994fabfe349 # v3.7.1 | |
- uses: sigstore/cosign-installer@dc72c7d5c4d10cd6bcb8cf6e3fd625a9e5e537da # v3.7.0 | |
- uses: anchore/sbom-action/download-syft@251a468eed47e5082b105c3ba6ee500c0e65a764 # v0.17.6 | |
- uses: goreleaser/goreleaser-action@286f3b13b1b49da4ac219696163fb8c1c93e1200 # v6.0.0 | |
with: | |
install-only: true | |
- name: run goreleaser-snapshot | |
run: | | |
make goreleaser-snapshot | |
docker images | |
docker run falcosecurity/falcosidekick:latest-amd64 --version | |
docker run public.ecr.aws/falcosecurity/falcosidekick:latest-amd64 --version | |
env: | |
GOPATH: /home/runner/go | |
# Push images to DockerHUB | |
- name: Login to Docker Hub | |
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0 | |
with: | |
username: ${{ secrets.DOCKERHUB_USER }} | |
password: ${{ secrets.DOCKERHUB_SECRET }} | |
- name: Push images to Dockerhub | |
run: | | |
docker push falcosecurity/falcosidekick:latest-amd64 | |
docker push falcosecurity/falcosidekick:latest-arm64 | |
docker push falcosecurity/falcosidekick:latest-armv7 | |
docker manifest create --amend falcosecurity/falcosidekick:latest falcosecurity/falcosidekick:latest-amd64 \ | |
falcosecurity/falcosidekick:latest-arm64 falcosecurity/falcosidekick:latest-armv7 | |
docker manifest push --purge falcosecurity/falcosidekick:latest | |
# Push images to AWS Public ECR | |
- name: Configure AWS credentials | |
uses: aws-actions/configure-aws-credentials@e3dd6a429d7300a6a4c196c26e071d42e0343502 # v4.0.2 | |
with: | |
role-to-assume: arn:aws:iam::292999226676:role/github_actions-falcosidekick-ecr | |
aws-region: us-east-1 | |
- name: Login to Amazon ECR | |
id: login-ecr-public | |
uses: aws-actions/amazon-ecr-login@062b18b96a7aff071d4dc91bc00c4c1a7945b076 # v2.0.1 | |
with: | |
registry-type: public | |
- run: | | |
docker push public.ecr.aws/falcosecurity/falcosidekick:latest-amd64 | |
docker push public.ecr.aws/falcosecurity/falcosidekick:latest-arm64 | |
docker push public.ecr.aws/falcosecurity/falcosidekick:latest-armv7 | |
docker manifest create --amend public.ecr.aws/falcosecurity/falcosidekick:latest public.ecr.aws/falcosecurity/falcosidekick:latest-amd64 \ | |
public.ecr.aws/falcosecurity/falcosidekick:latest-arm64 public.ecr.aws/falcosecurity/falcosidekick:latest-armv7 | |
docker manifest push --purge public.ecr.aws/falcosecurity/falcosidekick:latest |