Skip to content

Commit

Permalink
upgrade to goose v3.19.2
Browse files Browse the repository at this point in the history
  • Loading branch information
kukymbr committed Mar 19, 2024
1 parent 0fbf491 commit cafe075
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM alpine:3
MAINTAINER kukymbr
LABEL description="goose migrations in docker"

ENV GOOSE_VERSION_TAG="v3.19.1"
ENV GOOSE_VERSION_TAG="v3.19.2"

RUN apk update && \
apk upgrade && \
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,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.19.1
ghcr.io/kukymbr/goose-docker:3.19.2
```

Example with `up-to` command:
Expand All @@ -59,7 +59,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.19.1
ghcr.io/kukymbr/goose-docker:3.19.2
```

### docker compose
Expand All @@ -71,7 +71,7 @@ services:
# ... Add your DB service

migrations:
image: ghcr.io/kukymbr/goose-docker:3.19.1
image: ghcr.io/kukymbr/goose-docker:3.19.2
environment:
- GOOSE_DRIVER=postgres
- GOOSE_DBSTRING=host=postgres port=5432 user=postgres password=postgres dbname=postgres
Expand Down
2 changes: 1 addition & 1 deletion compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ services:
retries: 5

migrations:
image: ghcr.io/kukymbr/goose-docker:3.19.1
image: ghcr.io/kukymbr/goose-docker:3.19.2
restart: no
env_file:
- .env
Expand Down
6 changes: 3 additions & 3 deletions readme.dockerhub.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.19.1
kukymbr/goose-docker:3.19.2
```

Example with `up-to` command:
Expand All @@ -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.19.1
kukymbr/goose-docker:3.19.2
```

### docker compose
Expand All @@ -79,7 +79,7 @@ services:
# ... Add your DB service

migrations:
image: kukymbr/goose-docker:3.19.1
image: kukymbr/goose-docker:3.19.2
environment:
- GOOSE_DRIVER=postgres
- GOOSE_DBSTRING=host=postgres port=5432 user=postgres password=postgres dbname=postgres
Expand Down

0 comments on commit cafe075

Please sign in to comment.