packages upgrade
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing

This commit is contained in:
Paolo Asperti 2024-06-16 16:21:32 +02:00
parent 6ed58a676f
commit f4c0042ab2
Signed by: paspo
GPG Key ID: 06D46905D19D5182
3 changed files with 7 additions and 13 deletions

View File

@ -29,9 +29,7 @@ steps:
username:
from_secret: docker_username
tags:
- ${DRONE_TAG}-linux-amd64
- ${DRONE_SEMVER_MAJOR}.${DRONE_SEMVER_MINOR}-linux-amd64
- ${DRONE_SEMVER_MAJOR}-linux-amd64
- latest-linux-amd64
when:
event:
- tag
@ -69,9 +67,7 @@ steps:
username:
from_secret: docker_username
tags:
- ${DRONE_TAG}-linux-arm64
- ${DRONE_SEMVER_MAJOR}.${DRONE_SEMVER_MINOR}-linux-arm64
- ${DRONE_SEMVER_MAJOR}-linux-arm64
- latest-linux-arm64
when:
event:
- tag
@ -95,9 +91,6 @@ steps:
from_secret: docker_password
tags:
- latest
- ${DRONE_TAG}
- ${DRONE_SEMVER_MAJOR}.${DRONE_SEMVER_MINOR}
- ${DRONE_SEMVER_MAJOR}
when:
event:
- tag

View File

@ -1,7 +1,8 @@
FROM alpine:latest
RUN \
apk -U add proftpd proftpd-mod_tls proftpd-mod_ifsession \
apk --no-cache upgrade && \
apk --no-cache add proftpd proftpd-mod_tls proftpd-mod_ifsession \
proftpd-mod_deflate proftpd-mod_geoip proftpd-mod_sql_sqlite \
proftpd-utils openssl perl acme.sh lftp sqlite && \
mkdir -p /var/run/proftpd /etc/proftpd/custom.conf.d/

View File

@ -1,4 +1,4 @@
image: docker.asperti.com/paspo/ftps:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}
image: docker.asperti.com/paspo/ftps:latest
{{#if build.tags}}
tags:
{{#each build.tags}}
@ -7,12 +7,12 @@ tags:
{{/if}}
manifests:
-
image: docker.asperti.com/paspo/ftps:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}linux-amd64
image: docker.asperti.com/paspo/ftps:latest-linux-amd64
platform:
architecture: amd64
os: linux
-
image: docker.asperti.com/paspo/ftps:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}linux-arm64
image: docker.asperti.com/paspo/ftps:latest-linux-arm64
platform:
variant: v8
architecture: arm64