Skip to content

Commit

Permalink
goose v3.22.0
Browse files Browse the repository at this point in the history
  • Loading branch information
kukymbr committed Sep 4, 2024
1 parent 710c223 commit 46c39a9
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
GOOSE_DOCKER_TAG=3.21.1
GOOSE_DOCKER_TAG=3.22.0

POSTGRES_USER=postgres
POSTGRES_PASSWORD=postgres
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/push_ghcr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
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.21.1"
ENV GOOSE_VERSION_TAG="v3.22.0"

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 @@ -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:
Expand All @@ -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):
Expand All @@ -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
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.21.1
image: ghcr.io/kukymbr/goose-docker:3.22.0
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.21.1
kukymbr/goose-docker:3.22.0
```

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.21.1
kukymbr/goose-docker:3.22.0
```

Example with `create` command (works since v3.20.0):
Expand All @@ -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
Expand Down

0 comments on commit 46c39a9

Please sign in to comment.