[Snyk] Upgrade regenerator-runtime from 0.13.11 to 0.14.0 #7681
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 | ||
on: | ||
push: | ||
branches: | ||
- 'master' | ||
pull_request: | ||
branches: | ||
- 'master' | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }} | ||
cancel-in-progress: true | ||
jobs: | ||
docker-build: | ||
name: docker-build | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
build_preset: | | ||
Check failure on line 21 in .github/workflows/docker.yml GitHub Actions / DockerInvalid workflow file
|
||
${{ fromJson(github.event_name == 'pull_request' ? '["ci"]' : '["dev", "lean", "py310", "websocket", "dockerize"]') }} | ||
fail-fast: false | ||
steps: | ||
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )" | ||
uses: actions/checkout@v4 | ||
with: | ||
persist-credentials: false | ||
- name: Set up QEMU | ||
uses: docker/setup-qemu-action@v3 | ||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v3 | ||
- name: Build Docker Image | ||
shell: bash | ||
env: | ||
DOCKERHUB_USER: ${{ secrets.DOCKERHUB_USER }} | ||
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }} | ||
run: | | ||
pip install click | ||
./scripts/build_docker.py \ | ||
${{ matrix.build_preset }} \ | ||
${{ github.event_name }} \ | ||
--build_context_ref "$RELEASE" $FORCE_LATEST \ | ||
--platform "linux/arm64" \ | ||
--platform "linux/amd64" |