chore: Bump Arroyo to 2.19.5 #12938
Workflow file for this run
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
on: | |
pull_request: | |
push: | |
branches: [master] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: docker login --username '${{ github.actor }}' --password-stdin ghcr.io <<< "$GHCR_TOKEN" | |
env: | |
GHCR_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
if: github.event_name != 'pull_request' | |
- run: docker buildx create --driver docker-container --use | |
- name: build | |
run: | | |
set -euxo pipefail | |
if [ ${{ github.event_name }} = 'push' ]; then | |
args=( | |
--tag ghcr.io/getsentry/snuba:latest | |
--tag ghcr.io/getsentry/snuba:amd64-latest | |
--push | |
) | |
else | |
args=() | |
fi | |
docker buildx build \ | |
--pull \ | |
--platform linux/amd64 \ | |
--cache-from ghcr.io/getsentry/snuba:latest \ | |
--cache-to type=inline \ | |
--tag ghcr.io/getsentry/snuba:${{ github.sha }} \ | |
--target application \ | |
"${args[@]}" \ | |
. |