separated amd64 arch and updated base image
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
858b937272
commit
27a52b53e4
24
.drone.yml
24
.drone.yml
@ -2,20 +2,38 @@ kind: pipeline
|
|||||||
type: docker
|
type: docker
|
||||||
name: default
|
name: default
|
||||||
|
|
||||||
|
platform:
|
||||||
|
arch: amd64
|
||||||
|
os: linux
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- name: build
|
||||||
|
image: plugins/docker:linux-amd64
|
||||||
|
settings:
|
||||||
|
dockerfile: Dockerfile.amd64
|
||||||
|
dry_run: true
|
||||||
|
repo: docker.asperti.com/paspo/hassio-zabbix-agent2
|
||||||
|
when:
|
||||||
|
event:
|
||||||
|
- push
|
||||||
|
|
||||||
- name: build_and_publish
|
- name: build_and_publish
|
||||||
image: plugins/docker:linux-amd64
|
image: plugins/docker:linux-amd64
|
||||||
settings:
|
settings:
|
||||||
|
dockerfile: Dockerfile.amd64
|
||||||
password:
|
password:
|
||||||
from_secret: docker_password
|
from_secret: docker_password
|
||||||
registry: docker.asperti.com
|
registry: docker.asperti.com
|
||||||
repo: docker.asperti.com/paspo/hassio-zabbix-agent2
|
repo: docker.asperti.com/paspo/hassio-zabbix-agent2
|
||||||
tags:
|
tags:
|
||||||
- latest
|
- latest-amd64
|
||||||
- ${DRONE_TAG}
|
- ${DRONE_TAG}-amd64
|
||||||
- ${DRONE_SEMVER_MAJOR}.${DRONE_SEMVER_MINOR}
|
- ${DRONE_SEMVER_MAJOR}.${DRONE_SEMVER_MINOR}-amd64
|
||||||
username:
|
username:
|
||||||
from_secret: docker_username
|
from_secret: docker_username
|
||||||
|
when:
|
||||||
|
event:
|
||||||
|
- tag
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
event:
|
event:
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
ARG BUILD_FROM=hassioaddons/base:8.0.6
|
ARG BUILD_FROM=ghcr.io/hassio-addons/base/amd64:12.0.0
|
||||||
FROM $BUILD_FROM
|
FROM $BUILD_FROM
|
||||||
|
|
||||||
ENV LANG C.UTF-8
|
ENV LANG C.UTF-8
|
||||||
@ -6,7 +6,7 @@ ENV LANG C.UTF-8
|
|||||||
# Copy scripts for add-on
|
# Copy scripts for add-on
|
||||||
COPY run.sh /
|
COPY run.sh /
|
||||||
|
|
||||||
RUN apk add -U jq zabbix-agent2=5.0.14-r1 sudo && \
|
RUN apk add -U jq zabbix-agent2=6.0.5-r0 sudo && \
|
||||||
chmod a+x /run.sh
|
chmod a+x /run.sh
|
||||||
|
|
||||||
CMD [ "/run.sh" ]
|
CMD [ "/run.sh" ]
|
Loading…
Reference in New Issue
Block a user