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

View File

@ -1,7 +1,8 @@
FROM alpine:latest FROM alpine:latest
RUN \ 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-mod_deflate proftpd-mod_geoip proftpd-mod_sql_sqlite \
proftpd-utils openssl perl acme.sh lftp sqlite && \ proftpd-utils openssl perl acme.sh lftp sqlite && \
mkdir -p /var/run/proftpd /etc/proftpd/custom.conf.d/ 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}} {{#if build.tags}}
tags: tags:
{{#each build.tags}} {{#each build.tags}}
@ -7,12 +7,12 @@ tags:
{{/if}} {{/if}}
manifests: 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: platform:
architecture: amd64 architecture: amd64
os: linux 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: platform:
variant: v8 variant: v8
architecture: arm64 architecture: arm64