Skip to content

Commit

Permalink
Start environment
Browse files Browse the repository at this point in the history
  • Loading branch information
AlekSi committed Sep 3, 2024
1 parent 6948270 commit 7048341
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,16 @@ on:
- main
schedule:
- cron: "12 3 * * *"
workflow_dispatch:
inputs:
ferretdb_image:
description: FerretDB Docker image
default: ghcr.io/ferretdb/ferretdb-dev:main
required: false
postgres_image:
description: PostgreSQL Docker image
default: postgres:16.4
required: false

env:
GOPATH: /home/runner/go
Expand Down Expand Up @@ -48,6 +58,12 @@ jobs:
run: go generate -x
working-directory: tools

- name: Start environment
run: bin/task env-up-detach
env:
FERRETDB_IMAGE: ${{ inputs.ferretdb_image || 'ghcr.io/ferretdb/ferretdb-dev:main' }}
POSTGRES_IMAGE: ${{ inputs.postgres_image || 'postgres:16.4' }}

- name: Run init
run: bin/task init

Expand Down

0 comments on commit 7048341

Please sign in to comment.