Skip to content

Commit

Permalink
Merge branch 'master' into replication-origin
Browse files Browse the repository at this point in the history
  • Loading branch information
Pyry Liukas committed Feb 24, 2024
2 parents a6c33c8 + 5522181 commit 4976b92
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
fail-fast: false
matrix:
include:
- ruby: 3.2
- ruby: 3.3
postgres: 16
- ruby: 2.7
postgres: 9.6
Expand Down
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
## 0.8.0 (unreleased)
## 1.0.0 (unreleased)

- Added Docker image for `linux/arm64`
- Fixed warning with Ruby 3.3
- Dropped support for Ruby < 2.7

## 0.7.4 (2023-03-06)
Expand Down
6 changes: 2 additions & 4 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,12 @@ namespace :docker do
task :build do
require_relative "lib/pgsync/version"

system "docker build --pull --no-cache --platform linux/amd64 -t ankane/pgsync:latest .", exception: true
system "docker build --platform linux/amd64 -t ankane/pgsync:v#{PgSync::VERSION} .", exception: true
system "docker build --pull --no-cache --platform linux/amd64 -t ankane/pgsync:latest -t ankane/pgsync:v#{PgSync::VERSION} .", exception: true
end

task :release do
require_relative "lib/pgsync/version"

system "docker buildx build --push --pull --no-cache --platform linux/amd64,linux/arm64 -t ankane/pgsync:latest .", exception: true
system "docker buildx build --push --platform linux/amd64,linux/arm64 -t ankane/pgsync:v#{PgSync::VERSION} .", exception: true
system "docker buildx build --push --pull --no-cache --platform linux/amd64,linux/arm64 -t ankane/pgsync:latest -t ankane/pgsync:v#{PgSync::VERSION} .", exception: true
end
end
1 change: 1 addition & 0 deletions pgsync.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ Gem::Specification.new do |spec|

spec.required_ruby_version = ">= 2.7"

spec.add_dependency "bigdecimal"
spec.add_dependency "parallel"
spec.add_dependency "pg", ">= 0.18.2"
spec.add_dependency "slop", ">= 4.10.1"
Expand Down

0 comments on commit 4976b92

Please sign in to comment.