diff --git a/.env b/.env index cbf7bd7..e27c1f5 100644 --- a/.env +++ b/.env @@ -1,4 +1,4 @@ -GOOSE_DOCKER_TAG=3.21.1 +GOOSE_DOCKER_TAG=3.22.0 POSTGRES_USER=postgres POSTGRES_PASSWORD=postgres diff --git a/.github/workflows/push_ghcr.yml b/.github/workflows/push_ghcr.yml index bb696c8..63aba43 100644 --- a/.github/workflows/push_ghcr.yml +++ b/.github/workflows/push_ghcr.yml @@ -61,7 +61,7 @@ jobs: - name: Test docker compose run: | VERSION=${{ steps.names.outputs.VERSION }} - sed -i "s/3.21.1/$VERSION/" .env + sed -i "s/3.22.0/$VERSION/" .env cat .env docker compose up -d diff --git a/Dockerfile b/Dockerfile index 0aa4814..b6850ca 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ FROM alpine:3 MAINTAINER kukymbr LABEL description="goose migrations in docker" -ENV GOOSE_VERSION_TAG="v3.21.1" +ENV GOOSE_VERSION_TAG="v3.22.0" RUN apk update && \ apk upgrade && \ diff --git a/README.md b/README.md index 0741842..41d4f73 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,7 @@ For example, pure docker call: docker run --rm -v ./migrations:/migrations --network host \ -e GOOSE_DRIVER="postgres" \ -e GOOSE_DBSTRING="host=localhost port=5432 user=postgres password=postgres dbname=postgres" \ - ghcr.io/kukymbr/goose-docker:3.21.1 + ghcr.io/kukymbr/goose-docker:3.22.0 ``` Example with `up-to` command: @@ -61,7 +61,7 @@ docker run --rm -v ./migrations:/migrations --network host \ -e GOOSE_COMMAND_ARG="20230607203836" \ -e GOOSE_DRIVER="postgres" \ -e GOOSE_DBSTRING="host=localhost port=5432 user=postgres password=postgres dbname=postgres" \ - ghcr.io/kukymbr/goose-docker:3.21.1 + ghcr.io/kukymbr/goose-docker:3.22.0 ``` Example with `create` command (works since v3.20.0): @@ -82,7 +82,7 @@ services: # ... Add your DB service migrations: - image: ghcr.io/kukymbr/goose-docker:3.21.1 + image: ghcr.io/kukymbr/goose-docker:3.22.0 environment: - GOOSE_DRIVER=postgres - GOOSE_DBSTRING=host=postgres port=5432 user=postgres password=postgres dbname=postgres diff --git a/compose.yml b/compose.yml index 012810c..77e6c07 100644 --- a/compose.yml +++ b/compose.yml @@ -14,7 +14,7 @@ services: retries: 5 migrations: - image: ghcr.io/kukymbr/goose-docker:3.21.1 + image: ghcr.io/kukymbr/goose-docker:3.22.0 restart: no env_file: - .env diff --git a/readme.dockerhub.md b/readme.dockerhub.md index 87e849d..e4dcd2f 100644 --- a/readme.dockerhub.md +++ b/readme.dockerhub.md @@ -56,7 +56,7 @@ For example, pure docker call: docker run --rm -v ./migrations:/migrations --network host \ -e GOOSE_DRIVER="postgres" \ -e GOOSE_DBSTRING="host=localhost port=5432 user=postgres password=postgres dbname=postgres" \ - kukymbr/goose-docker:3.21.1 + kukymbr/goose-docker:3.22.0 ``` Example with `up-to` command: @@ -67,7 +67,7 @@ docker run --rm -v ./migrations:/migrations --network host \ -e GOOSE_COMMAND_ARG="20230607203836" \ -e GOOSE_DRIVER="postgres" \ -e GOOSE_DBSTRING="host=localhost port=5432 user=postgres password=postgres dbname=postgres" \ - kukymbr/goose-docker:3.21.1 + kukymbr/goose-docker:3.22.0 ``` Example with `create` command (works since v3.20.0): @@ -88,7 +88,7 @@ services: # ... Add your DB service migrations: - image: kukymbr/goose-docker:3.21.1 + image: kukymbr/goose-docker:3.22.0 environment: - GOOSE_DRIVER=postgres - GOOSE_DBSTRING=host=postgres port=5432 user=postgres password=postgres dbname=postgres