chore: update ubuntu (#86) #21
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: Docker Publish | |
on: | |
push: | |
branches: [ main ] | |
tags: | |
- '*' | |
jobs: | |
docker_publish: | |
# run workflow only on numaproj/numaflow-rs repository | |
if: ${{ github.repository }} == "numaproj/numaflow-rs" | |
name: Build, Tag, and Push Image | |
runs-on: ubuntu-24.04 | |
strategy: | |
matrix: | |
dockerfile_paths: [ | |
"examples/map-cat", "examples/map-tickgen-serde", "examples/mapt-event-time-filter", | |
"examples/reduce-counter", "examples/sideinput", "examples/sideinput/udf", | |
"examples/simple-source", "examples/sink-log", "examples/source-transformer-now", | |
"examples/batchmap-flatmap", "examples/batchmap-cat", | |
] | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v3 | |
- name: Install protobuf compiler | |
run: sudo apt-get update && sudo apt-get install -y protobuf-compiler | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v3 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Login to Quay.io registry | |
uses: docker/login-action@v3 | |
with: | |
registry: quay.io | |
username: ${{ secrets.NUMAIO_USERNAME }} | |
password: ${{ secrets.NUMAIO_PASSWORD }} | |
- name: Build, tag, and push images | |
run: ./hack/update_examples.sh --build-push-example ${{ matrix.dockerfile_paths }} |