fix(paxos): be more careful about which parts of proposer and accepto… #999
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: examples-container-build | |
on: | |
push: | |
branches: | |
- main | |
- feature/** | |
jobs: | |
pre_job: | |
runs-on: ubuntu-latest | |
outputs: | |
should_skip: ${{ steps.skip_check.outputs.should_skip }} | |
steps: | |
- id: skip_check | |
uses: fkirc/[email protected] | |
with: | |
cancel_others: "true" | |
concurrent_skipping: "same_content_newer" | |
buildx: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- id: owner | |
name: Lowercase OWNER | |
run: | | |
echo "owner=${OWNER,,}" >> "$GITHUB_OUTPUT" | |
env: | |
OWNER: ${{ github.repository_owner }} | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v2 | |
- id: buildx | |
name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v2 | |
with: | |
buildkitd-flags: --debug | |
- name: Login to GHCR | |
uses: docker/login-action@v2 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Build and push | |
uses: docker/build-push-action@v3 | |
with: | |
builder: ${{ steps.buildx.outputs.name }} | |
context: . | |
platforms: linux/amd64, linux/arm64 | |
push: true | |
secrets: | | |
GIT_AUTH_TOKEN=${{ github.token }} | |
tags: | | |
ghcr.io/${{ steps.owner.outputs.owner }}/hydroflow-examples:${{ github.sha }} | |
ghcr.io/${{ steps.owner.outputs.owner }}/hydroflow-examples:latest |