Skip to content

Add flag to switch off balance filtering for 1271 orders (#3902) #3484

Add flag to switch off balance filtering for 1271 orders (#3902)

Add flag to switch off balance filtering for 1271 orders (#3902) #3484

Workflow file for this run

name: deploy
on:
push:
branches: [main]
tags: [v*]
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
# Without this the fetch depth defaults to 1, which only includes the most recent commit. We want to know the full history so that `git describe` can give more information when it is invoked in the orderbook's crate build script.
fetch-depth: '0'
persist-credentials: false
- uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3.4.0
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Services image metadata
id: meta_services
uses: docker/metadata-action@902fa8ec7d6ecbf8d84d538b9b233a880e428804 # v5.7.0
with:
images: ghcr.io/${{ github.repository }}
labels: |
org.opencontainers.image.licenses=GPL-3.0-or-later
- name: Services image build
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6.18.0
with:
context: .
file: Dockerfile
push: true
tags: ${{ steps.meta_services.outputs.tags }}
labels: ${{ steps.meta_services.outputs.labels }}
- name: Migration image metadata
id: meta_migration
uses: docker/metadata-action@902fa8ec7d6ecbf8d84d538b9b233a880e428804 # v5.7.0
with:
images: ghcr.io/${{ github.repository }}-migration
labels: |
org.opencontainers.image.licenses=GPL-3.0-or-later
- name: Migration image build
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6.18.0
with:
context: .
file: Dockerfile
target: migrations
push: true
tags: ${{ steps.meta_migration.outputs.tags }}
labels: ${{ steps.meta_migration.outputs.labels }}
- uses: cowprotocol/autodeploy-action@73f1163f19a584cdc34e29aa84d630d7e6a45432 # v3
if: ${{ github.ref == 'refs/heads/main' }}
with:
images: ghcr.io/cowprotocol/services:main
strategy: restart # Recreates the deployment
tag: ${{ secrets.AUTODEPLOY_TAG }}
url: ${{ secrets.AUTODEPLOY_URL }}
token: ${{ secrets.AUTODEPLOY_TOKEN }}
timeout: 600000 # 10 minutes