Add None solver and allow to be set if external solver is set (#1818) #1251
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: deploy | |
on: | |
push: | |
branches: [main] | |
tags: [v*] | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
packages: write | |
steps: | |
- uses: actions/checkout@v3 | |
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' | |
- uses: docker/login-action@v2 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Services image metadata | |
id: meta_services | |
uses: docker/metadata-action@v4 | |
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@v4 | |
with: | |
context: . | |
file: docker/Dockerfile.binary | |
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@v4 | |
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@v4 | |
with: | |
context: . | |
file: docker/Dockerfile.migration | |
push: true | |
tags: ${{ steps.meta_migration.outputs.tags }} | |
labels: ${{ steps.meta_migration.outputs.labels }} | |
- uses: cowprotocol/autodeploy-action@v1 | |
if: ${{ github.ref == 'refs/heads/main' }} | |
with: | |
pods: "goerli-api-staging,\ | |
goerli-autopilot-staging,\ | |
goerli-baseline-staging,\ | |
goerli-driver-staging,\ | |
goerli-naive-staging,\ | |
goerli-quasimodo-staging,\ | |
goerli-refunder-staging,\ | |
mainnet-api-staging,\ | |
mainnet-autopilot-staging,\ | |
mainnet-refunder-staging,\ | |
mainnet-solver-staging,\ | |
shadow-solver,\ | |
xdai-api-staging,\ | |
xdai-autopilot-staging,\ | |
xdai-refunder-staging,\ | |
xdai-solver-staging" | |
tag: ${{ secrets.AUTODEPLOY_TAG }} | |
url: ${{ secrets.AUTODEPLOY_URL }} | |
token: ${{ secrets.AUTODEPLOY_TOKEN }} |