Filter aborted SNSes from snsAggregatorStore (#5552) #3567
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: Populate docker cache | |
on: | |
push: | |
branches: | |
- main | |
# Use this branch for tests: | |
- docker-main-test | |
workflow_dispatch: | |
inputs: | |
network: | |
description: 'Network' | |
default: 'local' | |
type: string | |
no_cache: | |
description: 'no-cache' | |
required: true | |
default: false | |
type: boolean | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
builder: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v4 | |
# We use `buildx` and its GitHub Actions caching support `type=gha`. For | |
# more information, see | |
# https://github.com/docker/build-push-action/issues/539 | |
- name: Set up docker buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Provide empty global config | |
run: echo '{}' > global-config.json | |
- name: Build docker artifacts | |
uses: docker/build-push-action@v6 | |
with: | |
context: . | |
file: Dockerfile | |
build-args: | | |
DFX_NETWORK=${{ inputs.network || 'local' }} | |
COMMIT=${{ github.sha }} | |
no-cache: ${{ inputs.no_cache || false }} | |
cache-from: type=gha,scope=cached-stage | |
cache-to: type=gha,scope=cached-stage,mode=max | |
outputs: type=cacheonly | |
target: scratch |