Browse Source

update

tags/v0.0.32^0
Peter Vivell 6 years ago
parent
commit
b77a2fc545
2 changed files with 4 additions and 6 deletions
  1. 2
    3
      Dockerfile
  2. 2
    3
      drone.yml

+ 2
- 3
Dockerfile View File

1
 FROM debian:stable-slim
1
 FROM debian:stable-slim
2
-ARG MAINTAINER
3
-MAINTAINER ${MAINTAINER}
4
 
2
 
5
-RUN echo 'export http_proxy=$(ip route list exact 0.0.0.0/0 | head -1 | cut -d" " -f3):3142' >> /etc/profile
3
+RUN echo 'export http_proxy=$(ip route list exact 0.0.0.0/0 | head -1 | cut -d" " -f3):3142' >> /etc/profile ; \
4
+    source /etc/profile
6
 
5
 
7
 ARG BUILDDEPS
6
 ARG BUILDDEPS
8
 RUN apt-get update && \
7
 RUN apt-get update && \

+ 2
- 3
drone.yml View File

26
       from_secret: reg-user
26
       from_secret: reg-user
27
     password:
27
     password:
28
       from_secret: reg-pass
28
       from_secret: reg-pass
29
-    repo: reg.unino.de/develop/debian-${DRONE_REPO_NAME}
29
+    repo: reg.unino.de/develop/debian-${DRONE_REPO_NAMESPACE}-${DRONE_REPO_NAME}
30
     #mirror: registry-1.docker.io/library/debian:stable-slim
30
     #mirror: registry-1.docker.io/library/debian:stable-slim
31
     #bip: 172.17.0.1/24
31
     #bip: 172.17.0.1/24
32
     context: /drone
32
     context: /drone
47
 
47
 
48
 
48
 
49
 - name: build
49
 - name: build
50
-  image: reg.unino.de/develop/debian-${DRONE_REPO_NAME}:latest
50
+  image: reg.unino.de/develop/debian-${DRONE_REPO_NAMESPACE}-${DRONE_REPO_NAME}:latest
51
   # https://readme.drone.io/user-guide/pipeline/
51
   # https://readme.drone.io/user-guide/pipeline/
52
   # https://docs.drone.io/reference/environ/
52
   # https://docs.drone.io/reference/environ/
53
   when:
53
   when:
75
     - exit 0 ; ░░▒▒▓▓██ [ BUILD SUCCESS ] ██▓▓▒▒░░
75
     - exit 0 ; ░░▒▒▓▓██ [ BUILD SUCCESS ] ██▓▓▒▒░░
76
 
76
 
77
 
77
 
78
-
79
 - name: sign
78
 - name: sign
80
   image: plugins/gpgsign
79
   image: plugins/gpgsign
81
   # http://plugins.drone.io/drone-plugins/drone-gpgsign/
80
   # http://plugins.drone.io/drone-plugins/drone-gpgsign/

Loading…
Cancel
Save