fix: gpg key import
This commit is contained in:
parent
59f5dec9ca
commit
51c30d02d7
29
.drone.yml
29
.drone.yml
@ -3,6 +3,10 @@ type: docker
|
||||
name: build-image-x86_64
|
||||
|
||||
steps:
|
||||
|
||||
# BUILD
|
||||
###############################################################################
|
||||
|
||||
- name: build-image-latest
|
||||
image: docker.io/volkerraschek/build-image:latest
|
||||
commands:
|
||||
@ -14,6 +18,9 @@ steps:
|
||||
branch:
|
||||
- master
|
||||
|
||||
# PUSH
|
||||
###############################################################################
|
||||
|
||||
- name: push-image-latest
|
||||
image: docker.io/volkerraschek/build-image:latest
|
||||
commands:
|
||||
@ -47,6 +54,28 @@ steps:
|
||||
event:
|
||||
- tag
|
||||
|
||||
# NOTIFY
|
||||
###############################################################################
|
||||
|
||||
- name: notify
|
||||
image: drillster/drone-email
|
||||
environment:
|
||||
PLUGIN_HOST:
|
||||
from_secret: smtp_host
|
||||
PLUGIN_USERNAME:
|
||||
from_secret: smtp_username
|
||||
PLUGIN_PASSWORD:
|
||||
from_secret: smtp_password
|
||||
PLUGIN_FROM:
|
||||
from_secret: smtp_mail_address
|
||||
when:
|
||||
status:
|
||||
- changed
|
||||
- failure
|
||||
|
||||
# VOLUMES
|
||||
###############################################################################
|
||||
|
||||
volumes:
|
||||
- name: docker_socket
|
||||
host:
|
||||
|
17
Dockerfile
17
Dockerfile
@ -2,17 +2,24 @@ ARG BASE_IMAGE
|
||||
|
||||
FROM ${BASE_IMAGE}
|
||||
|
||||
COPY installation-scripts /tmp/installation-scripts
|
||||
RUN /tmp/installation-scripts/00-pacman-mirror.sh
|
||||
|
||||
RUN pacman --sync \
|
||||
--refresh \
|
||||
--noconfirm \
|
||||
--sysupgrade docker go gcc make git rpm-builder which zip
|
||||
--sysupgrade awk bash-completion docker go gcc make git which zip
|
||||
|
||||
COPY installation-scripts /tmp/installation-scripts
|
||||
|
||||
# Install PKGs from own repo
|
||||
RUN /tmp/installation-scripts/00-pacman-mirror.sh
|
||||
RUN pacman --sync \
|
||||
--refresh \
|
||||
--noconfirm \
|
||||
--sysupgrade rpm-builder
|
||||
|
||||
|
||||
ENV PATH="/root/.cargo/bin:/root/go/bin:${PATH}"
|
||||
|
||||
RUN for f in {01-rustup.sh,02-github-release.sh,03-go-bindata.sh}; do /tmp/installation-scripts/$f; done && \
|
||||
RUN for f in {01-rustup.sh,02-go-bindata.sh}; do /tmp/installation-scripts/$f; done && \
|
||||
rm --recursive --force /tmp/installation-scripts
|
||||
|
||||
WORKDIR /workspace
|
@ -1,7 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
cat > /etc/pacman.d/gnupg/dirmngr.conf <<EOF
|
||||
keyserver hkps://hkps.pool.sks-keyservers.net:443
|
||||
keyserver hkp://pool.sks-keyservers.net:80
|
||||
EOF
|
||||
|
||||
# Initialize pacman-key ring
|
||||
pacman-key --init
|
||||
pacman-key --refresh-keys
|
||||
|
||||
# Add GPG Key
|
||||
pacman-key --recv-keys 9B146D11A9ED6CA7E279EB1A852BCC170D81A982
|
||||
|
@ -1,3 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
go get github.com/aktau/github-release
|
Loading…
Reference in New Issue
Block a user