Skip to content

Commit

Permalink
Merge pull request #31 from benjaminbear/bump_golang_1.20
Browse files Browse the repository at this point in the history
bump dependencies to golang 1.20
  • Loading branch information
benjaminbear committed May 25, 2023
2 parents 523a82c + 083c296 commit 5d87fb3
Show file tree
Hide file tree
Showing 6 changed files with 88 additions and 98 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
name: 'build go project'

on: [push]

jobs:
build:

runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.20'

- name: Build
run: |
cd dyndns
go build -v ./...
- name: Test
run: |
cd dyndns
go test -v ./...
23 changes: 0 additions & 23 deletions .travis.yml

This file was deleted.

4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
# Dynamic DNS Server for Docker with Web UI written in Go

![Travis build status](https://travis-ci.com/benjaminbear/docker-ddns-server.svg?branch=master)
![Docker build status](https://img.shields.io/docker/cloud/build/bbaerthlein/docker-ddns-server)
![Docker build automated](https://img.shields.io/docker/cloud/automated/bbaerthlein/docker-ddns-server)

![GitHub release (latest by date)](https://img.shields.io/github/v/release/benjaminbear/docker-ddns-server)
![Go version](https://img.shields.io/github/go-mod/go-version/benjaminbear/docker-ddns-server?filename=dyndns%2Fgo.mod)
![License](https://img.shields.io/github/license/benjaminbear/docker-ddns-server)

With docker-ddns-server you can setup your own dynamic DNS server. This project is inspired by https://github.com/dprandzioch/docker-ddns . In addition to the original version, you can setup and maintain your dyndns entries via simple web ui.
With docker-ddns-server you can set up your own dynamic DNS server. This project is inspired by https://github.com/dprandzioch/docker-ddns . In addition to the original version, you can setup and maintain your dyndns entries via simple web ui.

<p float="left">
<img src="https://raw.githubusercontent.com/benjaminbear/docker-ddns-server/master/img/addhost.png" width="285">
Expand Down
2 changes: 1 addition & 1 deletion deployment/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.18 as builder
FROM golang:1.20 as builder

ENV GO111MODULE=on
ENV GOPATH=/root/go
Expand Down
33 changes: 17 additions & 16 deletions dyndns/go.mod
Original file line number Diff line number Diff line change
@@ -1,31 +1,32 @@
module github.com/benjaminbear/docker-ddns-server/dyndns

go 1.18
go 1.20

require (
github.com/foolin/goview v0.3.0
github.com/go-playground/validator/v10 v10.11.0
github.com/go-playground/validator/v10 v10.14.0
github.com/jinzhu/gorm v1.9.16
github.com/labstack/echo/v4 v4.7.2
github.com/labstack/gommon v0.3.1
github.com/tg123/go-htpasswd v1.2.0
github.com/labstack/echo/v4 v4.10.2
github.com/labstack/gommon v0.4.0
github.com/tg123/go-htpasswd v1.2.1
)

require (
github.com/GehirnInc/crypt v0.0.0-20200316065508-bb7000b8a962 // indirect
github.com/go-playground/locales v0.14.0 // indirect
github.com/go-playground/universal-translator v0.18.0 // indirect
github.com/gabriel-vasile/mimetype v1.4.2 // indirect
github.com/go-playground/locales v0.14.1 // indirect
github.com/go-playground/universal-translator v0.18.1 // indirect
github.com/golang-jwt/jwt v3.2.2+incompatible // indirect
github.com/jinzhu/inflection v1.0.0 // indirect
github.com/leodido/go-urn v1.2.1 // indirect
github.com/mattn/go-colorable v0.1.12 // indirect
github.com/mattn/go-isatty v0.0.14 // indirect
github.com/leodido/go-urn v1.2.4 // indirect
github.com/mattn/go-colorable v0.1.13 // indirect
github.com/mattn/go-isatty v0.0.17 // indirect
github.com/mattn/go-sqlite3 v1.14.0 // indirect
github.com/valyala/bytebufferpool v1.0.0 // indirect
github.com/valyala/fasttemplate v1.2.1 // indirect
golang.org/x/crypto v0.0.0-20220525230936-793ad666bf5e // indirect
golang.org/x/net v0.0.0-20220524220425-1d687d428aca // indirect
golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a // indirect
golang.org/x/text v0.3.7 // indirect
golang.org/x/time v0.0.0-20201208040808-7e3f01d25324 // indirect
github.com/valyala/fasttemplate v1.2.2 // indirect
golang.org/x/crypto v0.7.0 // indirect
golang.org/x/net v0.8.0 // indirect
golang.org/x/sys v0.6.0 // indirect
golang.org/x/text v0.8.0 // indirect
golang.org/x/time v0.3.0 // indirect
)
Loading

0 comments on commit 5d87fb3

Please sign in to comment.