Skip to content

Commit f02d2d0

Browse files
authored
Merge pull request #109 from sineverba/release-4.6.0
Release 4.6.0
2 parents 661ec0e + 3ef5b98 commit f02d2d0

8 files changed

Lines changed: 26 additions & 39 deletions

File tree

.circleci/config.yml

Lines changed: 0 additions & 22 deletions
This file was deleted.

.semaphore/deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ name: Build and deploy Pipeline
44
agent:
55
machine:
66
type: e1-standard-2
7-
os_image: ubuntu1804
7+
os_image: ubuntu2004
88
execution_time_limit:
99
hours: 3
1010

@@ -29,7 +29,7 @@ blocks:
2929
- checkout
3030
- docker -v
3131
- mkdir -vp ~/.docker/cli-plugins/
32-
- curl --silent -L "https://github.com/docker/buildx/releases/download/v0.5.1/buildx-v0.5.1.linux-amd64" > ~/.docker/cli-plugins/docker-buildx
32+
- curl --silent -L "https://github.com/docker/buildx/releases/download/v0.7.1/buildx-v0.7.1.linux-amd64" > ~/.docker/cli-plugins/docker-buildx
3333
- chmod a+x ~/.docker/cli-plugins/docker-buildx
3434
- docker buildx version
3535
- docker run --rm --privileged multiarch/qemu-user-static --reset -p yes

.semaphore/semaphore.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ name: Build and test Pipeline
44
agent:
55
machine:
66
type: e1-standard-2
7-
os_image: ubuntu1804
7+
os_image: ubuntu2004
88

99
global_job_config:
1010

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
# Next version
1+
# 4.6.0
22
+ Fix Cron output
33
+ Remove Travis and add Circle CI
44
+ Enable CircleCI
55
+ Fix documentation
66
+ Fix CircleCI badge
77
+ Update license year (yes, this project is alive!)
8+
+ Upgrade dependencies / images
89

910
## 4.5.0
1011
+ Rearrange instructions (for Docker)

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2018 - 2021 sineverba
3+
Copyright (c) 2018 - 2022 sineverba
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

Makefile

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,29 @@
1+
APP_VERSION=4.5.0
2+
BUILDX_VERSION=0.7.1
3+
4+
15
build:
2-
docker build --tag sineverba/cfhookbash:latest --file ./docker/Dockerfile .
6+
docker build --tag sineverba/cfhookbash-dev:$(APP_VERSION) --file ./docker/Dockerfile .
37

48
multi:
5-
docker buildx build --platform linux/386,linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64 --tag sineverba/cfhookbash:latest --file ./docker/Dockerfile . --push
9+
mkdir -vp ~/.docker/cli-plugins/
10+
curl --silent -L "https://github.com/docker/buildx/releases/download/v$(BUILDX_VERSION)/buildx-v$(BUILDX_VERSION).linux-amd64" > ~/.docker/cli-plugins/docker-buildx
11+
chmod a+x ~/.docker/cli-plugins/docker-buildx
12+
docker buildx version
13+
docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
14+
docker buildx create --name alfa && docker buildx use alfa && docker buildx inspect --bootstrap
15+
docker buildx build --tag sineverba/cfhookbash-dev:latest --tag sineverba/cfhookbash-dev:$(APP_VERSION) --platform linux/amd64,linux/armhf,linux/arm64 --file ./docker/Dockerfile .
16+
docker buildx rm alfa
617

718
run:
8-
#docker run -it -v ${PWD}/certs:/certs -v ${PWD}/config:/config --name cfhookbash sineverba/cfhookbash:latest
9-
docker run -it --rm --name cfhookbash sineverba/cfhookbash:latest
19+
docker run -it --rm --name cfhookbash sineverba/cfhookbash-dev:$(APP_VERSION)
1020

1121
test:
12-
docker run -it --rm --name cfhookbash sineverba/cfhookbash:latest | grep "INFO: Using main config file /app/dehydrated/config"
13-
docker run -it --rm --name cfhookbash sineverba/cfhookbash:latest | grep "Registering account"
22+
docker run -it --rm --name cfhookbash sineverba/cfhookbash-dev:$(APP_VERSION) | grep "INFO: Using main config file /app/dehydrated/config"
23+
docker run -it --rm --name cfhookbash sineverba/cfhookbash-dev:$(APP_VERSION) | grep "Registering account"
1424

1525
inspect:
16-
#docker run -it --entrypoint "/bin/bash" -v ${PWD}/certs:/certs -v ${PWD}/config:/config cfhookbash
1726
docker run -it --entrypoint "/bin/bash" cfhookbash
1827

1928
destroy:
20-
docker image rm sineverba/cfhookbash:latest
29+
docker image rm sineverba/cfhookbash-dev:$(APP_VERSION)

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,14 @@ Cloudflare dns-01 challenge hook bash for dehydrated
44
| CD / CI | |
55
| --------- | --------- |
66
| Semaphore CI | [![Build Status](https://sineverba.semaphoreci.com/badges/cfhookbash/branches/master.svg)](https://sineverba.semaphoreci.com/projects/cfhookbash) |
7-
| Circle CI | [![CircleCI](https://circleci.com/gh/sineverba/cfhookbash.svg?style=svg)](https://circleci.com/gh/sineverba/cfhookbash) |
87

98
**If you like this project, or use it, please, star it!**
109

1110
Cloudflare Bash hook for [dehydrated](https://github.com/dehydrated-io/dehydrated).
1211

1312
## Docker version
1413

15-
For Docker version usage, see [wiki](https://github.com/sineverba/cfhookbash/wiki/Docker-usage)
14+
For [Docker](https://hub.docker.com/r/sineverba/cfhookbash) version usage, see [wiki](https://github.com/sineverba/cfhookbash/wiki/Docker-usage)
1615

1716

1817
## Why Cloudflare? What is this script?

docker/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
FROM alpine:3.12.3
1+
FROM alpine:3.15.0
22

3-
RUN apk add --no-cache bash curl jq openssl --upgrade grep
3+
RUN apk update && apk upgrade && apk add --no-cache bash curl jq openssl --upgrade grep
44

55
RUN mkdir -p dehydrated /app/dehydrated
66

0 commit comments

Comments
 (0)