Compare commits
8 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
342974c82d | ||
|
ac216f73c2 | ||
|
6355dd1224 | ||
|
177a427ac8 | ||
|
0b8f38d92b | ||
|
a208aa303b | ||
|
5563833070 | ||
|
a90d08954e |
40
.drone.yml
40
.drone.yml
@ -2,11 +2,6 @@ kind: pipeline
|
||||
type: docker
|
||||
name: default
|
||||
|
||||
trigger:
|
||||
branch:
|
||||
- main
|
||||
- dev
|
||||
|
||||
platform:
|
||||
os: linux
|
||||
arch: amd64
|
||||
@ -62,13 +57,39 @@ steps:
|
||||
depends_on:
|
||||
- "go-build-bin-amd64"
|
||||
when:
|
||||
event:
|
||||
- tag
|
||||
branch:
|
||||
- main
|
||||
|
||||
# Build Containers for each architecture DEV
|
||||
- name: docker-build-image-amd64-dev
|
||||
image: thegeeklab/drone-docker-buildx
|
||||
volumes:
|
||||
- name: docker_socket
|
||||
path: /var/run/docker.sock
|
||||
- name: binaries
|
||||
path: /drone/src/binaries/
|
||||
privileged: true
|
||||
commands:
|
||||
settings:
|
||||
username:
|
||||
from_secret: gitea_username
|
||||
password:
|
||||
from_secret: gitea_password
|
||||
repo: gitea.voser.cloud/container/iwilldie
|
||||
registry: https://gitea.voser.cloud
|
||||
tags:
|
||||
- latest-dev
|
||||
platforms: linux/amd64
|
||||
dockerfile: /drone/src/Docker/Dockerfile.amd64
|
||||
nocache: true
|
||||
depends_on:
|
||||
- "go-build-bin-amd64"
|
||||
when:
|
||||
branch:
|
||||
- dev
|
||||
|
||||
# Build Containers for each architecture TAGGED
|
||||
- name: docker-build-image-amd64-tagged
|
||||
image: thegeeklab/drone-docker-buildx
|
||||
volumes:
|
||||
- name: docker_socket
|
||||
@ -85,7 +106,7 @@ steps:
|
||||
repo: gitea.voser.cloud/container/iwilldie
|
||||
registry: https://gitea.voser.cloud
|
||||
auto_tag: true
|
||||
auto_tag_suffix: dev
|
||||
auto_tag_suffix:
|
||||
platforms: linux/amd64
|
||||
dockerfile: /drone/src/Docker/Dockerfile.amd64
|
||||
nocache: true
|
||||
@ -94,8 +115,6 @@ steps:
|
||||
when:
|
||||
event:
|
||||
- tag
|
||||
branch:
|
||||
- dev
|
||||
|
||||
# Run go tests
|
||||
- name: binary-cleanup
|
||||
@ -113,6 +132,7 @@ steps:
|
||||
- "go-build-bin-amd64"
|
||||
- "docker-build-image-amd64-dev"
|
||||
- "docker-build-image-amd64-prod"
|
||||
- "docker-build-image-amd64-tagged"
|
||||
|
||||
|
||||
# Volumes to mount between steps
|
||||
|
2
LICENSE
2
LICENSE
@ -58,7 +58,7 @@ APPENDIX: How to apply the Apache License to your work.
|
||||
|
||||
To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives.
|
||||
|
||||
Copyright [yyyy] [name of copyright owner]
|
||||
Copyright 2023 Janic Voser
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
@ -1,3 +1,9 @@
|
||||
# iwilldie
|
||||
|
||||
This Repository exists to create a container which dies after some amount of time, this is usefull to test liveness probes in kubernetes.
|
||||
This Repository exists to create a container which dies after some amount of time, this is usefull to test liveness probes in kubernetes.
|
||||
|
||||
# Current Build States
|
||||
[](https://drone.voser.cloud/Container/iwilldie) => Development branch => dev
|
||||
---
|
||||
[](https://drone.voser.cloud/Container/iwilldie) => Main branch => latest
|
||||
---
|
Loading…
x
Reference in New Issue
Block a user