Skip to content

Commit

Permalink
Merge pull request #53 from dokku/master
Browse files Browse the repository at this point in the history
Release 0.12.0
  • Loading branch information
josegonzalez authored Mar 2, 2022
2 parents 2666f71 + 99ed1b3 commit b4e1999
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Dockerfile.build
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.17.6-buster
FROM golang:1.17.7-buster

# hadolint ignore=DL3027
RUN apt-get update \
Expand Down
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ MAINTAINER_NAME = Jose Diaz-Gonzalez
REPOSITORY = dokku-event-listener
HARDWARE = $(shell uname -m)
SYSTEM_NAME = $(shell uname -s | tr '[:upper:]' '[:lower:]')
BASE_VERSION ?= 0.11.0
BASE_VERSION ?= 0.12.0
IMAGE_NAME ?= $(MAINTAINER)/$(REPOSITORY)
PACKAGECLOUD_REPOSITORY ?= dokku/dokku-betafish

Expand Down Expand Up @@ -227,6 +227,7 @@ release-packagecloud-deb: build/deb/$(NAME)_$(VERSION)_amd64.deb build/deb/$(NAM
package_cloud push $(PACKAGECLOUD_REPOSITORY)/debian/bullseye build/deb/$(NAME)_$(VERSION)_amd64.deb
package_cloud push $(PACKAGECLOUD_REPOSITORY)/ubuntu/focal build/deb/$(NAME)_$(VERSION)_arm64.deb
package_cloud push $(PACKAGECLOUD_REPOSITORY)/raspbian/buster build/deb/$(NAME)_$(VERSION)_armhf.deb
package_cloud push $(PACKAGECLOUD_REPOSITORY)/raspbian/bullseye build/deb/$(NAME)_$(VERSION)_armhf.deb

release-packagecloud-rpm: build/rpm/$(NAME)-$(VERSION)-1.x86_64.rpm
package_cloud push $(PACKAGECLOUD_REPOSITORY)/el/7 build/rpm/$(NAME)-$(VERSION)-1.x86_64.rpm
Expand Down
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -219,9 +219,9 @@ func handleEvent(ctx context.Context, event events.Message) (error) {
Str("app", appName).
Str("old_ip_address", existingContainer.NetworkSettings.Networks["bridge"].IPAddress).
Str("new_ip_address", container.NetworkSettings.Networks["bridge"].IPAddress).
Msg("reloading_nginx")
Msg("reloading_proxy")

if err := runCommand("dokku", "--quiet", "nginx:build-config", appName); err != nil {
if err := runCommand("dokku", "--quiet", "proxy:build-config", appName); err != nil {
log.Warn().
Str("container_id", containerShortId).
Str("app", appName).
Expand Down

0 comments on commit b4e1999

Please sign in to comment.